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:{{{application_deadline | -->{{#if:{{{application_deadline|}}}|<tr><th scope="row">Deadline</th><td>{{#time:F j, Y|{{{application_deadline}}}}}</td></tr>}}<!-- | ||
| -->{{#if:{{{application_link|}}}|<tr><th scope="row">Application</th><td> | -->{{#if:{{{application_link|}}} | ||
| {{#ifexpr: {{#time:U|{{{application_deadline}}}}} > {{#time:U}} | [{{{application_link}}} <span class="button blue outline">Apply</span>]|<span class="button disabled outline">Closed</span>}}</td></tr> | | <tr> | ||
| </includeonly> |     <th scope="row">Application</th> | ||
|     <td>{{#ifexpr:{{#time:U|{{{application_deadline}}}}} > {{#time:U}} | |||
|         | [{{{application_link}}} <span class="button blue outline">Apply</span>] | |||
|         | <span class="button disabled outline">Closed</span> | |||
|         }} | |||
|     </td> | |||
| </tr> | |||
| |}}<!-- | |||
| --></includeonly> | |||