Difference between revisions of "Template:Issue"

From Culture.si
Line 1: Line 1:
 
{{ifEqualOrEmpty|{{#cgi:responsible|}}|{{{responsible}}}|
 
{{ifEqualOrEmpty|{{#cgi:responsible|}}|{{{responsible}}}|
{{ifEqualOrEmpty|{{#cgi:status|}}|{{{status|open}}}|
+
{{ifEqualOrEmpty|{{#cgi:status|}}|{{coallesce|{{{status|}}}|open}}|
 
3=
 
3=
 
----
 
----
Line 9: Line 9:
 
{{#if:{{{description|}}}
 
{{#if:{{{description|}}}
 
|<dt>description
 
|<dt>description
<dd>{{#if:{{{description|}}}|{{{description|}}}|...}}
+
<dd>{{coallesce|{{{description|}}}|...}}
 
}}
 
}}
 
{{#if:{{{current|}}}
 
{{#if:{{{current|}}}
 
|<dt>current behaviour
 
|<dt>current behaviour
<dd>{{#if:{{{current|}}}|{{{current|}}}|...}}
+
<dd>{{coallesce|{{{current|}}}|...}}
 
}}
 
}}
 
{{#if:{{{expected|}}}
 
{{#if:{{{expected|}}}
 
|<dt>expected behaviour
 
|<dt>expected behaviour
<dd>{{#if:{{{expected|}}}|{{{expected|}}}|...}}
+
<dd>{{coallesce|{{{expected|}}}|...}}
 
}}
 
}}
 
<dt>status
 
<dt>status
<dd><b>{{#if:{{{status|}}}{{{status}}}|open}}</b> - assigned to <b>{{#if:{{{responsible|}}}|[[User:{{{responsible}}}]]|nobody}}</b> {{#if:{{{closed|}}}|- closed on {{{closed}}}}}
+
<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
 
|<dt>comments

Revision as of 19:46, 15 April 2011


submitted
by Unknown on unknown
status
open - assigned to nobody