Template:Event/upcoming: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 1: | Line 1: | ||
| <includeonly><!-- NEED TO IMPLEMENT A CHECK FOR IF THERE IS AN UPCOMING EVENT, THEN THE HEADER, DATES, AND APPLICATION INFO. | <includeonly><!-- NEED TO IMPLEMENT A CHECK FOR IF THERE IS AN UPCOMING EVENT, THEN THE HEADER, DATES, AND APPLICATION INFO. | ||
| -->{{#if:{{{ | -->{{#if:{{#show:{{PAGENAME}}|?Has application deadline}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{#show:{{PAGENAME}}|?Has application deadline}}}}</td></tr>}}<!-- | ||
| -->{{#if:{{{ | -->{{#if:{{#show:{{PAGENAME}}|?Has application URL}} | ||
| | <tr> | | <tr> | ||
|      <th scope="row">Application</th> |      <th scope="row">Application</th> | ||
|      <td>{{#ifexpr:{{#time:U|{{{ |      <td>{{#ifexpr:{{#time:U|{{#show:{{PAGENAME}}|?Has application deadline}}}} > {{#time:U}} | ||
|          | [{{{ |          | [{{#show:{{PAGENAME}}|?Has application URL}} <span class="button blue outline">Apply</span>] | ||
|          | <span class="button disabled outline">Closed</span> |          | <span class="button disabled outline">Closed</span> | ||
|          }} |          }} | ||