mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
disable due-dates from view except for myself for now, going to test live
This commit is contained in:
parent
9f26cb6c57
commit
fc951b4907
1 changed files with 5 additions and 1 deletions
|
|
@ -340,8 +340,10 @@ do a find for the string after "→"
|
|||
{#if _user.history.todos}
|
||||
<a x-bind=click:toggleChart data-toggle-id="todos-chart" data-history-path="_user.history.todos" rel=tooltip title="Progress"><i class=icon-signal></i></a>
|
||||
{/}
|
||||
{#if _user.flags.enableDueDates}
|
||||
<a href="/v1/users/{{_user.id}}/calendar.ics?apiToken={{_user.apiToken}}"><img src='/img/calendar_ical.png' title="iCal" alt="iCal" rel=tooltip /></a>
|
||||
<a target="_blank" href="https://www.google.com/calendar/render?cid={{encodeiCalLink(_user.id, _user.apiToken)}}"><img src='/img/calendar_google.png' title="Google Calendar" alt="Google Calendar" rel=tooltip /></a>
|
||||
{/}
|
||||
</span>
|
||||
<div id="todos-chart" style="display:none;"></div>
|
||||
<ul class="nav nav-tabs">
|
||||
|
|
@ -609,10 +611,12 @@ do a find for the string after "→"
|
|||
</label>
|
||||
</div>
|
||||
{else if equal(:task.type, 'todo')}
|
||||
{#if _user.flags.enableDueDates}
|
||||
<div class=control-group>
|
||||
<label>Date</label>
|
||||
<label>Due Date</label>
|
||||
<input type="date" value="{:task.date}" />
|
||||
</div>
|
||||
{/}
|
||||
{/}
|
||||
<button type=submit class="btn">Save & Close</button>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in a new issue