mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix admin links in featured article
This commit is contained in:
parent
87e54ac14f
commit
0525295d7e
@ -20,13 +20,13 @@
|
|||||||
<b>
|
<b>
|
||||||
<p>{{ article.title|raw }}
|
<p>{{ article.title|raw }}
|
||||||
{% if canEdit %}
|
{% if canEdit %}
|
||||||
<a href="?subtopic=news&action=edit&id={{ article.id }}" title="Edit">
|
<a href="/admin/?p=news&action=edit&id={{ article.id }}" title="Edit">
|
||||||
<img src="images/edit.png"/>Edit
|
<img src="images/edit.png"/>Edit
|
||||||
</a>
|
</a>
|
||||||
<a id="delete" href="?subtopic=news&action=delete&id={{ article.id }}" onclick="return confirm('Are you sure?');" title="Delete">
|
<a id="delete" href="/admin/?p=news&action=delete&id={{ article.id }}" onclick="return confirm('Are you sure?');" title="Delete">
|
||||||
<img src="images/del.png"/>Delete
|
<img src="images/del.png"/>Delete
|
||||||
</a>
|
</a>
|
||||||
<a href="?subtopic=news&action=hide&id={{ article.id }}" title="{% if article.hidden != 1 %}Hide{% else %}Show{% endif %}">
|
<a href="/admin/?p=news&action=hide&id={{ article.id }}" title="{% if article.hidden != 1 %}Hide{% else %}Show{% endif %}">
|
||||||
<img src="images/{% if article.hidden != 1 %}success{% else %}error{% endif %}.png"/>
|
<img src="images/{% if article.hidden != 1 %}success{% else %}error{% endif %}.png"/>
|
||||||
{% if article.hidden != 1 %}Hide{% else %}Show{% endif %}
|
{% if article.hidden != 1 %}Hide{% else %}Show{% endif %}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user