mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hide blank times on tasks
This commit is contained in:
parent
60f711ec8b
commit
8d110c2a4b
@ -2603,6 +2603,7 @@ $LANG = array(
|
|||||||
'please_register' => 'Please register your account',
|
'please_register' => 'Please register your account',
|
||||||
'processing_request' => 'Processing request',
|
'processing_request' => 'Processing request',
|
||||||
'mcrypt_warning' => 'Warning: Mcrypt is deprecated, run <code>php artisan ninja:update-key --legacy=true</code> to update your cipher.',
|
'mcrypt_warning' => 'Warning: Mcrypt is deprecated, run <code>php artisan ninja:update-key --legacy=true</code> to update your cipher.',
|
||||||
|
'edit_times' => 'Edit Times',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -72,6 +72,7 @@
|
|||||||
<label for="simple-time" class="control-label col-lg-4 col-sm-4">
|
<label for="simple-time" class="control-label col-lg-4 col-sm-4">
|
||||||
</label>
|
</label>
|
||||||
<div class="col-lg-8 col-sm-8" style="padding-top: 10px">
|
<div class="col-lg-8 col-sm-8" style="padding-top: 10px">
|
||||||
|
@if ($task->getStartTime())
|
||||||
<p>{{ $task->getStartTime() }} -
|
<p>{{ $task->getStartTime() }} -
|
||||||
@if (Auth::user()->account->timezone_id)
|
@if (Auth::user()->account->timezone_id)
|
||||||
{{ $timezone }}
|
{{ $timezone }}
|
||||||
@ -79,13 +80,14 @@
|
|||||||
{!! link_to('/settings/localization?focus=timezone_id', $timezone, ['target' => '_blank']) !!}
|
{!! link_to('/settings/localization?focus=timezone_id', $timezone, ['target' => '_blank']) !!}
|
||||||
@endif
|
@endif
|
||||||
<p/>
|
<p/>
|
||||||
|
@endif
|
||||||
|
|
||||||
@if ($task->hasPreviousDuration())
|
@if ($task->hasPreviousDuration())
|
||||||
{{ trans('texts.duration') . ': ' . Utils::formatTime($task->getDuration()) }}<br/>
|
{{ trans('texts.duration') . ': ' . Utils::formatTime($task->getDuration()) }}<br/>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (!$task->is_running)
|
@if (!$task->is_running)
|
||||||
<p>{!! Button::primary(trans('texts.edit_details'))->withAttributes(['onclick'=>'showTimeDetails()'])->small() !!}</p>
|
<p>{!! Button::primary(trans('texts.edit_times'))->withAttributes(['onclick'=>'showTimeDetails()'])->small() !!}</p>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user