From 3ed58779be80390c4260d58ed0db5735fe2aff4a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 18 Dec 2018 12:34:59 +0800 Subject: [PATCH] templates/view.html --- templates/view.html | 202 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) diff --git a/templates/view.html b/templates/view.html index e69de29..a12a29a 100644 --- a/templates/view.html +++ b/templates/view.html @@ -0,0 +1,202 @@ + + + + + + {appName} + + + + + + + + {outputCSSIncludes()} + + + + + + +{script:} + +var link = { + date : function (s) { + return s ? Date.parseDate( s, 'Y-m-d H:i:s').format('d/M/Y') : ''; + }, + username : function (n,id,e) { + return String.format('{0}', n, id, e); + } +}; + +var cid = ''; + +var cs = ''; + +function isOpen() { + + return t.status_name != 'closed'; +} + + +{end:} + +
+
+
+ +
+ + {if(t.id)} +

+ {if(!isOpen())} + #{t.id} [{t.status_name}] {t.summary} + {else:} + #{t.id} [{t.status_name}] {t.summary} + {end:} +

+ {end:} + +
+ + +
+
{t.description}
+ +
+
+ +
+ +
+ Properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:{t.milestone_id_name}
:{t.components}
:{t.classification_id_name}
:{t.priority_id_name}
:{t.severity_id_name}
:{t.keywords}
+
+
+ Status / Resources + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:{t.status_name}
:{t.developer_id_name}
:{t.owner_id_name}
:{t.estimated}
:{t.spent}
:{link.date(t.created_changedate):h} by + {link.username(t.created_person_id_name, t.created_person_id, t.created_person_id_email):h} +
:{link.date(t.updated_changedate):h} by + {link.username(t.updated_person_id_name, t.updated_person_id, t.updated_person_id_email):h}
+
+ + +
+ Attachments + +
+ +
+ +
+ + +
+ Watched By +
+ +
+ + +
+ + + + + +
+ + + +
+ + +{script:} +/* + {img.filename} ({img.filesize}) +
added by {img.created_by_name}
created: {img.created} + +
+
{img.toHTML(#100#,#/Images/Thumb#):h} + + */ + +{end:} + \ No newline at end of file -- 2.39.2