Skip to content
Snippets Groups Projects
Commit d2d4e629 authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpMain] Removed remove button for normal users

parent 844cda62
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
{% for news in news_list %}
<div class="panel panel-primary">
<div class="panel-heading">
<span class="lead">{{ news.title }}</span><div class="pull-right"><a href="/news/delete/{{ news.id }}" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span></a></div>
<span class="lead">{{ news.title }}</span><div class="pull-right">{% if user.is_superuser %}<a href="/news/delete/{{ news.id }}" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span></a>{% endif %}</div>
</div>
<div class="panel-body">
{{ news.message|linebreaksbr }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment