Difference between revisions of "Template:Issue"

From Culture.si
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{ifEqualOrEmpty|{{#cgi:responsible|}}|{{coallesce|{{{responsible}}}|nobody}}|
 +
{{ifEqualOrEmpty|{{#cgi:status|}}|{{coallesce|{{{status|}}}|open}}|
 +
3=
 
----
 
----
<div class="issue">
+
<div class="issue" style="background:#eee;margin:1em 0;padding:0.5em">
 
<dl>
 
<dl>
<dt>submitted
+
<dd style="margin-left:0"><strong>{{{category|general}}}:</strong> {{{description|issue}}}
<dd>by <b>[[User:{{{submitter|unknown}}}]]</b> on <b>{{{submitted|unknown}}}</b>
+
<dd style="margin-left:0"><small> submitted by <b>[[User:{{{submitter|unknown}}}]]</b> on <b>{{{submitted|unknown}}}</b></small>
<dt>description
+
<dd style="margin-left:0"><small><b>{{coallesce|{{{status|}}}|open}}</b> - assigned to <b>{{#if:{{{responsible|}}}|[[User:{{{responsible}}}]]|nobody}}</b> {{#if:{{{closed|}}}|- closed on {{{closed}}}|{{#if:{{{fixby|}}}|- fix by {{{fixby}}}}}}}</small>{{#if:{{{current|}}}
<dd>{{#if:{{{description|}}}|{{{description|}}}|...}}
+
|<dd style="margin-left:0"><strong>current behaviour:</strong>
<dt>
+
{{{current}}}
current behaviour
+
}}{{#if:{{{expected|}}}
<dd>{{#if:{{{current|}}}|{{{current|}}}|...}}
+
|<dd style="margin-left:0"><strong>expected behaviour:</strong>
<dt>expected behaviour
+
{{{expected}}}
<dd>{{#if:{{{expected|}}}|{{{expected|}}}|...}}
+
}}
<dt>status
 
<dd><b>{{{status|open}}}</b> - assigned to <b>{{#if:{{{responsible|}}}|[[User:{{{responsible}}}]]|nobody}}</b> {{#if:{{{closed|}}}|- closed on {{{closed}}}}}
 
 
</dl>
 
</dl>
 +
{{#if:{{{comments|}}}
 +
|<b>comments</b>
 +
<div style="margin:0.5em;background:white">
 +
{{{comments|}}}
 
</div>
 
</div>
 +
}}
 +
</div>
 +
}}
 +
}}

Latest revision as of 11:51, 23 August 2011


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