"Log In" -> "Sign In"

This commit is contained in:
Pēteris Caune 2018-10-20 19:24:21 +03:00
parent 288a57a4b1
commit dd342f3d30
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
3 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,8 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress hc_extras static %} {% load compress hc_extras static %}
{% block title %}Sign In - {% site_name %}{% endblock %}
{% block content %} {% block content %}
<div class="row"> <div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-12 col-sm-offset-0 col-lg-8 col-lg-offset-2"> <div class="col-xs-10 col-xs-offset-1 col-sm-12 col-sm-offset-0 col-lg-8 col-lg-offset-2">

View File

@ -143,7 +143,7 @@
</ul> </ul>
{% elif page != "login" %} {% elif page != "login" %}
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li><a href="{% url 'hc-login' %}">Log In</a></li> <li><a href="{% url 'hc-login' %}">Sign In</a></li>
</ul> </ul>
{% endif %} {% endif %}
</div> </div>

View File

@ -51,7 +51,10 @@
<h2>Authentication</h2> <h2>Authentication</h2>
<p>Your requests to {% site_name %} REST API must authenticate using an <p>Your requests to {% site_name %} REST API must authenticate using an
API key. By default, an user account on {% site_name %} doesn't have API key. By default, an user account on {% site_name %} doesn't have
an API key. You can create one in the <a href="{% url 'hc-profile' %}">Settings</a> page. an API key. You can create one in the
{% if request.user.is_authenticated %}
<a href="{% url 'hc-profile' %}">Account Settings</a>
{% else %}<b>Account Settings</b>{% endif %} page.
</p> </p>
<p>The client can authenticate itself by sending an appropriate HTTP <p>The client can authenticate itself by sending an appropriate HTTP