Skip to content

Commit

Permalink
Fix hidden buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 7, 2024
1 parent a374c3e commit f69f3d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pretalx_pages/templates/pretalx_pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ <h1>{% trans "Pages" %}</h1>
<strong><a href="{% url "plugins:pretalx_pages:edit" event=request.event.slug page=p.slug %}">{{ p.title }}</a></strong>
</td>
<td class="text-right flip">
<a href="{% url "plugins:pretalx_pages:up" event=request.event.slug page=p.slug %}" class="btn btn-default btn-sm {% if forloop.counter0 == 0 %}disabled{% endif %}"><i class="fa fa-arrow-up"></i></a>
<a href="{% url "plugins:pretalx_pages:down" event=request.event.slug page=p.slug %}" class="btn btn-default btn-sm {% if forloop.revcounter0 == 0 %}disabled{% endif %}"><i class="fa fa-arrow-down"></i></a>
<a href="{% url "plugins:pretalx_pages:up" event=request.event.slug page=p.slug %}" class="btn btn-info btn-sm {% if forloop.counter0 == 0 %}disabled{% endif %}"><i class="fa fa-arrow-up"></i></a>
<a href="{% url "plugins:pretalx_pages:down" event=request.event.slug page=p.slug %}" class="btn btn-info btn-sm {% if forloop.revcounter0 == 0 %}disabled{% endif %}"><i class="fa fa-arrow-down"></i></a>
</td>
<td class="text-right flip">
<a href="{% url "plugins:pretalx_pages:show" event=request.event.slug slug=p.slug %}" class="btn btn-default btn-sm" target="_blank"><i class="fa fa-eye"></i></a>
<a href="{% url "plugins:pretalx_pages:edit" event=request.event.slug page=p.slug %}" class="btn btn-default btn-sm"><i class="fa fa-edit"></i></a>
<a href="{% url "plugins:pretalx_pages:show" event=request.event.slug slug=p.slug %}" class="btn btn-success btn-sm" target="_blank"><i class="fa fa-eye"></i></a>
<a href="{% url "plugins:pretalx_pages:edit" event=request.event.slug page=p.slug %}" class="btn btn-info btn-sm"><i class="fa fa-edit"></i></a>
<a href="{% url "plugins:pretalx_pages:delete" event=request.event.slug page=p.slug %}" class="btn btn-danger btn-sm"><i class="fa fa-trash"></i></a>
</td>
</tr>
Expand Down

0 comments on commit f69f3d1

Please sign in to comment.