Make date shortcut names and titles translatable
This commit is contained in:
@@ -67,22 +67,17 @@
|
||||
<td>{if $form.f.due_dtime.errors}{$form.f.due_dtime.fieldErrors}{/if}
|
||||
{$form.f.due_dtime|unsafe}
|
||||
<div id="due_dtime_wrapper">
|
||||
<a href="#" id="due_dtime_shortcut_link">Date shortcuts… ▾</a>
|
||||
<a href="#" id="due_dtime_shortcut_link">Date shortcuts… ▾</a>
|
||||
{if $date_shortcuts}
|
||||
<dl id="due_dtime_more_shortcuts" style="display: none">
|
||||
<dt>Soon</dt>
|
||||
<dd><a href="#" rel="{$date_today}" class="due_dtime_shortcut" id="due_dtime_today_more">Today</a></dd>
|
||||
<dd><a href="#" rel="{$date_tomorrow}" class="due_dtime_shortcut" id="due_dtime_tomorrow">Tomorrow</a></dd>
|
||||
<dd><a href="#" rel="{$date_2_days}" class="due_dtime_shortcut" id="due_dtime_2_days">2 Days</a></dd>
|
||||
|
||||
<dt>Midterm</dt>
|
||||
<dd><a href="#" rel="{$date_eow}" class="due_dtime_shortcut" id="due_dtime_eow">End of the Week</a></dd>
|
||||
<dd><a href="#" rel="{$date_1_week}" class="due_dtime_shortcut" id="due_dtime_1_week">1 Week</a></dd>
|
||||
<dd><a href="#" rel="{$date_two_weeks}" class="due_dtime_shortcut" id="due_dtime_two_weeks">A Fortnight</a></dd>
|
||||
|
||||
<dt>Longterm</dt>
|
||||
<dd><a href="#" rel="{$date_eom}" class="due_dtime_shortcut" id="due_dtime_eom">End of the Month</a></dd>
|
||||
<dd><a href="#" rel="{$date_one_month}" class="due_dtime_shortcut" id="due_dtime_one_month">1 Month</a></dd>
|
||||
{foreach $date_shortcuts as $time_span => $shortcuts}
|
||||
<dt>{$time_span}</dt>
|
||||
{foreach $shortcuts as $title => $date}
|
||||
<dd><a href="#" rel="{$date}" class="due_dtime_shortcut">{$title}</a></dd>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
</dl>
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user