mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
add locale pt_br, fix tibiacom canEdit ticker buttons (#77)
* add locale pt_br * fix tibiacom canEdit ticker buttons buttons did not work * fix missing translation * * add author and change notice
This commit is contained in:
@@ -20,15 +20,15 @@
|
||||
<div id="TickerEntry-{{ i }}-ShortText" class="NewsTickerShortText">{{ ticker.body_short|raw }}</div>
|
||||
<div id="TickerEntry-{{ i }}-FullText" class="NewsTickerFullText">{{ ticker.body|raw }}
|
||||
{% if canEdit %}
|
||||
<a href="?subtopic=news&action=edit&id={{ ticker.id }}" title="Edit">
|
||||
<a href="admin/?p=news&action=edit&id={{ ticker.id }}" title="Edit">
|
||||
<img src="images/edit.png"/>
|
||||
Edit
|
||||
</a>
|
||||
<a id="delete" href="?subtopic=news&action=delete&id={{ ticker.id }}" onclick="return confirm('Are you sure?');" title="Delete">
|
||||
<a id="delete" href="admin/?p=news&action=delete&id={{ ticker.id }}" onclick="return confirm('Are you sure?');" title="Delete">
|
||||
<img src="images/del.png"/>
|
||||
Delete
|
||||
</a>
|
||||
<a href="?subtopic=news&action=hide&id={{ ticker.id }}" title="{% if ticker.hidden != 1 %}Hide{% else %}Show{% endif %}">
|
||||
<a href="admin/?p=news&action=hide&id={{ ticker.id }}" title="{% if ticker.hidden != 1 %}Hide{% else %}Show{% endif %}">
|
||||
<img src="images/{% if ticker.hidden != 1 %}success{% else %}error{% endif %}.png"/>
|
||||
{% if ticker.hidden != 1 %}Hide{% else %}Show{% endif %}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user