diff options
author | Jonas Kohl | 2024-12-10 17:15:10 +0100 |
---|---|---|
committer | Jonas Kohl | 2024-12-10 17:15:10 +0100 |
commit | 7d685c5e64149e20c7dc8977f645e050be53ddfd (patch) | |
tree | 44a931c23979aaa2e22b079f8af9232f490eb4d3 /src/application/templates/old/view_topics.twig | |
parent | 7c9f91333da983da37d3dc837fa61ef0bff64549 (diff) |
Add classic theme
Diffstat (limited to 'src/application/templates/old/view_topics.twig')
-rw-r--r-- | src/application/templates/old/view_topics.twig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/application/templates/old/view_topics.twig b/src/application/templates/old/view_topics.twig new file mode 100644 index 0000000..e6e69b7 --- /dev/null +++ b/src/application/templates/old/view_topics.twig @@ -0,0 +1,30 @@ +{% extends "base.twig" %} + +{% block content %} + +{% if currentUser.hasPermission(permission("CREATE_OWN_TOPIC")) %} + <p align="right"> + <img src="/ui/theme-files/old/message_add.gif" border="0" alt="" width="16" height="16" draggable="false" class="inline-icon"> {# + #}<a href="?_action=newtopic">{{ __("New topic") }}</a> + </p> + <hr color="silver" noshade> +{% endif %} + +<table width="100%" border="1" cellpadding="4" cellspacing="0" bordercolor="silver" bgcolor="white"> +{% for topic in ctx.topics %} + <tr> + <td> + <a class="list-group-item" href="?_action=viewtopic&topic={{ topic.id|url_encode }}"> + {% if topic.isLocked -%} + <img src="/ui/theme-files/old/lock.gif" border="0" alt="" width="16" height="16" draggable="false" class="inline-icon m-r"> + {%- endif -%} + {{ topic.title }} + <br> + <small class="_time">{{ topic.creationDate.format("c") }}</small> + </a> + </td> + </tr> +{% endfor %} +</table> + +{% endblock %} |