1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-26 11:43:09 +03:00
parent 691f2ae2ce
commit 4fcb069b45
2 changed files with 3 additions and 1 deletions

View File

@ -2463,6 +2463,7 @@ $LANG = array(
'download_desktop_app' => 'Download the desktop app',
'download_iphone_app' => 'Download the iPhone app',
'download_android_app' => 'Download the Android app',
'time_tracker_mobile_help' => 'Double tap a task to select it',
);

View File

@ -220,7 +220,7 @@
<!-- Task List -->
<div id="taskList" class="list-group col-sm-5 col-sm-pull-7" data-bind="foreach: filteredTasks" style="display:none">
<a href="#" data-bind="click: $parent.selectTask, touchend: $parent.selectTask, event: { mouseover: showActionButton, mouseout: hideActionButton }, css: listItemState"
<a href="#" data-bind="click: $parent.selectTask, event: { mouseover: showActionButton, mouseout: hideActionButton }, css: listItemState"
class="list-group-item">
<div class="pull-right" style="text-align:right;">
<div data-bind="visible: actionButtonVisible()"
@ -463,6 +463,7 @@
var link = '{{ config('ninja.time_tracker') }}';
var message = "{{ trans('texts.download_desktop_app') }}";
if (isMobile) {
toastr.warning("{{ trans('texts.time_tracker_mobile_help')}}");
if (isIPhone) {
link = '{{ NINJA_IOS_APP_URL }}';
message = "{{ trans('texts.download_iphone_app') }}";