projects
/
Pman.MTrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db6d442
)
templates/view.html
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Dec 2018 04:40:39 +0000
(12:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Dec 2018 04:40:39 +0000
(12:40 +0800)
templates/view.html
patch
|
blob
|
history
diff --git
a/templates/view.html
b/templates/view.html
index
f4de226
..
783c5ed
100644
(file)
--- a/
templates/view.html
+++ b/
templates/view.html
@@
-46,17
+46,7
@@
function isOpen() {
<div class="ticket-view">
<div class="right-block">
<div class="watch-list" id="watch-{ticket.id}-mtrack-ticket"></div>
<div class="ticket-view">
<div class="right-block">
<div class="watch-list" id="watch-{ticket.id}-mtrack-ticket"></div>
- <div flexy:foreach="images,img">
-
- <a class='attachment' href="{img.URL(#-1#,#/Images/Download#)}">{img.filename} ({img.filesize})<a/>
- <br/>added by {img.created_by_name} <br/>created: {img.created}
- <span flexy:if="img.is(#image#)">
- <br/>
- <a flexy:href="{img.URL(#-1#,#/Images/Download#)}">{img.toHTML(#100#,#/Images/Thumb#):h}</a>
- </span>
-
- </div>
</div>
</div>
@@
-166,7
+156,17
@@
function isOpen() {
<legend>Attachments</legend>
<div class="attachments-list" >
<legend>Attachments</legend>
<div class="attachments-list" >
- <!-- attachments go here.. -->
+ <div flexy:foreach="images,img">
+
+
+ <a class='attachment' href="{img.URL(#-1#,#/Images/Download#)}">{img.filename} ({img.filesize})<a/>
+ <br/>added by {img.created_by_name} <br/>created: {img.created}
+ <span flexy:if="img.is(#image#)">
+ <br/>
+ <a flexy:href="{img.URL(#-1#,#/Images/Download#)}">{img.toHTML(#100#,#/Images/Thumb#):h}</a>
+ </span>
+
+ </div>
</div>
</fieldset>
</div>
</fieldset>