Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Change "Recent Actions" to "Apps" on the apps table; Fix string not b…
Browse files Browse the repository at this point in the history
…eing able to translate because of title-case; Instead of "My Actions" show the name/username of the current user.
  • Loading branch information
douglasmiranda committed Apr 3, 2019
1 parent 58c47a2 commit 27ca8ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootstrap_admin/templates/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<button class="btn btn-default" title="{% trans "Apps" %}">
<span class="glyphicon glyphicon-star-empty"></span>
</button>
<a href="#timeline" class="btn btn-default" title="{% trans "Recent Actions" %}">
<span class="glyphicon glyphicon-tasks"></span> {% trans "Recent Actions" %}
<a href="#timeline" class="btn btn-default" title="{% trans "Apps" %}">
<span class="glyphicon glyphicon-tasks"></span> {% trans "Apps" %}
</a>
</div>
</div>
Expand Down Expand Up @@ -81,7 +81,7 @@
<div id="content-related" class="recent-actions panel-body">
<div class="module" id="recent-actions-module">
<div class="page-header">
<h2 id="timeline" class="h3">{% trans 'Recent Actions' %} <small>({% trans 'My Actions' %})</small></h2>
<h2 id="timeline" class="h3">{% trans 'Recent actions' %} <small>({% firstof user.get_short_name user.get_username %})</small></h2>
</div>
{% load log %}
{% get_admin_log 10 as admin_log for_user user %}
Expand Down

0 comments on commit 27ca8ac

Please sign in to comment.