BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

header.twig 1.4KB

123456789101112131415161718192021222324252627282930
  1. <div class="header">
  2. <h2>{{ name }}</h2>
  3. <div class="linkbox">
  4. <a href="collages.php" class="brackets">List of collages</a>
  5. {% if can_create %}
  6. <a href="collages.php?action=new" class="brackets">New collage</a>
  7. {% endif %}
  8. <br /><br />
  9. {% if can_sub %}
  10. <a href="#" id="subscribelink{{ id }}" class="brackets" onclick="CollageSubscribe({{ id }}); return false;">{{ subbed ? 'Unsubscribe' : 'Subscribe' }}</a>
  11. {% endif %}
  12. {% if can_edit %}
  13. <a href="collages.php?action=edit&amp;collageid={{ id }}" class="brackets">Edit description</a>
  14. {% else %}
  15. <span class="brackets">Locked</span>
  16. {% endif %}
  17. {% if bookmarked %}
  18. <a href="#" id="bookmarklink_collage_{{ id }}" class="brackets" onclick="Unbookmark('collage', {{ id }}, 'Bookmark'); return false;">Remove bookmark</a>
  19. {% else %}
  20. <a href="#" id="bookmarklink_collage_{{ id }}" class="brackets" onclick="Bookmark('collage', {{ id }}, 'Remove bookmark'); return false;">Bookmark</a>
  21. {% endif %}
  22. {% if can_manage %}
  23. <a href="collages.php?action={{ object == 'torrent' ? 'manage' : 'manage_artists' }}&amp;collageid={{ id }}" class="brackets">Manage {{ object }}s</a>
  24. {% endif %}
  25. <a href="reports.php?action=report&amp;type=collage&amp;id={{ id }}" class="brackets">Report collage</a>
  26. {% if can_delete %}
  27. <a href="collages.php?action=delete&amp;collageid={{ id }}" class="brackets">Delete</a>
  28. {% endif %}
  29. </div>
  30. </div>