Difference between revisions of "Template:News"

From Earth Science Information Partners (ESIP)
 
Line 74: Line 74:
  
 
-->{{#switch: {{#var: status}}
 
-->{{#switch: {{#var: status}}
     |Draft =<span class="text-danger">Draft</span>
+
     |Draft =<span class="text-muted">Draft</span>
 
     |On    =<span class="text-success">Published</span>
 
     |On    =<span class="text-success">Published</span>
     |Off  =<span class="text-muted">Expired</span>
+
     |Off  =<span class="text-danger">Expired</span>
 
   }} {{#switch: Yes
 
   }} {{#switch: Yes
 
         |{{{News is sticky|}}}
 
         |{{{News is sticky|}}}

Latest revision as of 16:50, July 21, 2020