Browse Source

"Log In" -> "Sign In"

pull/195/head
Pēteris Caune 6 years ago
parent
commit
dd342f3d30
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
3 changed files with 7 additions and 2 deletions
  1. +2
    -0
      templates/accounts/login.html
  2. +1
    -1
      templates/base.html
  3. +4
    -1
      templates/front/docs_api.html

+ 2
- 0
templates/accounts/login.html View File

@ -1,6 +1,8 @@
{% extends "base.html" %}
{% load compress hc_extras static %}
{% block title %}Sign In - {% site_name %}{% endblock %}
{% block content %}
<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">


+ 1
- 1
templates/base.html View File

@ -143,7 +143,7 @@
</ul>
{% elif page != "login" %}
<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>
{% endif %}
</div>


+ 4
- 1
templates/front/docs_api.html View File

@ -51,7 +51,10 @@
<h2>Authentication</h2>
<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
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>The client can authenticate itself by sending an appropriate HTTP


Loading…
Cancel
Save