Difference between revisions of "Template:Issue"

From Culture.si
 
(31 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">
:submitted by '''[[User:{{{submitter|unknown}}}]]''' on '''{{{submitted|unknown}}}'''
+
<dl>
:;Description
+
<dd style="margin-left:0"><strong>{{{category|general}}}:</strong> {{{description|issue}}}
:{{#if:{{{description|}}}|{{{description|}}}|...}}
+
<dd style="margin-left:0"><small> submitted by <b>[[User:{{{submitter|unknown}}}]]</b> on <b>{{{submitted|unknown}}}</b></small>
:;Current behaviour
+
<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|}}}
:{{#if:{{{current|}}}|{{{current|}}}|...}}
+
|<dd style="margin-left:0"><strong>current behaviour:</strong>
:;Expected behaviour
+
{{{current}}}
:{{#if:{{{expected|}}}|{{{expected|}}}|...}}
+
}}{{#if:{{{expected|}}}
:'''{{{status|open}}}''' - assigned to '''{{#if:{{{responsible|}}}|[[User:{{{responsible}}}]]|nobody}}''' {{#if:{{{closed|}}}|- closed on {{{closed}}}}}
+
|<dd style="margin-left:0"><strong>expected behaviour:</strong>
 +
{{{expected}}}
 +
}}
 +
</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