Skip to content

Commit

Permalink
Merge pull request #2484 from lazer1993/hotfix/2192-registration-proc…
Browse files Browse the repository at this point in the history
…ess-possibly-not-marking-status-correctly

#2192 Registration process (possibly) not marking status correctly / immediately
  • Loading branch information
jamalex committed Oct 14, 2014
2 parents dabf7f2 + 3d8d5de commit 5915fd8
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,13 @@ <h2>{% trans "Devices" %}</br><small>{% trans "A device is a KA Lite installatio
</td>
<td>
{% if device.is_own_device %}
<button id="force-sync" class="btn btn-primary registered-only">{% trans "Sync Now!" %}</button>
<a class="btn btn-success not-registered-only" href="{% url 'register_public_key' %}">{% trans "Register device" %}</a>

{% if device.is_registered %}
<button id="force-sync" class="btn btn-primary">{% trans "Sync Now!" %}</button>
{% else %}
<a class="btn btn-success not-registered-only" href="{% url 'register_public_key' %}">{% trans "Register device" %}</a>
{% endif %}

{% if clock_set %}
/
<a onclick="$('#clock_set').show()">set clock</a>
Expand Down

0 comments on commit 5915fd8

Please sign in to comment.