Difference between revisions of "Template:Issue"

From Culture.si
Line 2: Line 2:
 
{{ifEqualOrEmpty|{{#cgi:status|}}|{{coallesce|{{{status|}}}|open}}|
 
{{ifEqualOrEmpty|{{#cgi:status|}}|{{coallesce|{{{status|}}}|open}}|
 
3=
 
3=
----
 
 
<div class="issue">
 
<div class="issue">
 
<dl>
 
<dl>
<dt>submitted
+
<dd><b>{{{category|general}}}: {{{description|issue}}}</b>
<dd>by <b>[[User:{{{submitter|unknown}}}]]</b> on <b>{{{submitted|unknown}}}</b>
+
<dd><small> submitted by <b>[[User:{{{submitter|unknown}}}]]</b> on <b>{{{submitted|unknown}}}</b></small>
{{#if:{{{description|}}}
+
<dd><small><b>{{coallesce|{{{status|}}}|open}}</b> - assigned to <b>{{#if:{{{responsible|}}}|[[User:{{{responsible}}}]]|nobody}}</b> {{#if:{{{closed|}}}|- closed on {{{closed}}}}}</small>{{#if:{{{current|}}}
|<dt>description
+
|<dd><b>current behaviour:</b> {{{current}}}
<dd>{{coallesce|{{{description|}}}|...}}
+
}}{{#if:{{{expected|}}}
 +
|<dd><b>expected behaviour: {{{expected}}}
 
}}
 
}}
{{#if:{{{current|}}}
+
</dl>
|<dt>current behaviour
 
<dd>{{coallesce|{{{current|}}}|...}}
 
}}
 
{{#if:{{{expected|}}}
 
|<dt>expected behaviour
 
<dd>{{coallesce|{{{expected|}}}|...}}
 
}}
 
<dt>status
 
<dd><b>{{coallesce|{{{status|}}}|open}}</b> - assigned to <b>{{#if:{{{responsible|}}}|[[User:{{{responsible}}}]]|nobody}}</b> {{#if:{{{closed|}}}|- closed on {{{closed}}}}}
 
 
{{#if:{{{comments|}}}
 
{{#if:{{{comments|}}}
|<dt>comments
+
|<b>comments</b>
<dd>{{#if:{{{comments|}}}|{{{comments|}}}|...}}
+
<div>{{{comments|}}}</div>
 
}}
 
}}
</dl>
 
 
</div>
 
</div>
 
}}
 
}}
 
}}
 
}}

Revision as of 20:16, 15 April 2011

general: issue
submitted by Unknown on unknown
open - assigned to nobody