winix/winixd/html/fun_ticket.html

72 lines
2.2 KiB
HTML

<div class="winix">
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="withinfo"[end]>[item.subject]</h1>[end]
[if mount_page_arg_is "info"][include "item_info.html"][end]
<div class="uk-section uk-section-muted uk-padding">
[if ticket_can_edit]<p class="winix_ticket_edit"><a href="[doc_base_url][dir][item.url]/editticket" rel="nofollow">\[{edit}\]</a></p>[end]
<table class="uk-table uk-table-small">
[for ticket_tab]
[if ticket_tab_has_value]
<tr>
<th class="uk-width-auto">[filter fil_firstup][ticket_tab_param_name]:[end]</th>
<td class="uk-width-expand">
[if ticket_tab_type_is "images"]
<div class="uk-child-width-1-3@m" uk-grid uk-lightbox="animation: slide">
[for ticket_tab_file_tab]
<a class="uk-inline" href="[doc_base_url][ticket_tab_file_tab_path]" data-caption="[ticket_tab_file_tab_path]">
<img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]">
</a>
[end]
</div>
[end]
[if ticket_tab_type_is "files"]
[if ticket_tab_file_tab]
<ul>
[for ticket_tab_file_tab]
<li><a href="[doc_base_url][ticket_tab_file_tab_path]/download">[ticket_tab_file_tab_path]</a></li>
[end]
</ul>
[end]
[end]
[if any_not [ticket_tab_type_is "images"] [ticket_tab_type_is "files"]]
[ticket_tab_value]
[end]
</td>
</tr>
[end]
[end]
</table>
[item.content.print_content]
</div>
[if winix_has_plugin "thread"]
[for thread_sort_tab]
<div class="uk-margin [if index "even"]uk-tile-default[else]uk-tile-muted uk-padding-small[end]">
[if thread_sort_tab_can_write]<a class="threadedit" href="[thread_sort_tab_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="withinfo"[end]>[thread_sort_tab_subject]</h2>[end]
[if thread_mount_arg_is "info"][include "thread_sort_tab_info.html"][end]
[thread_sort_tab_print_content]
</div>
[end]
[if thread_can_reply]
<div class="uk-margin">
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item.url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
</div>
[end]
[end]
</div>