Remove setup self-host time tracker app

This commit is contained in:
Hillel Coren 2017-11-06 12:55:47 +02:00
parent 31b445f725
commit e59665c88e
3 changed files with 2 additions and 17 deletions

View File

@ -101,15 +101,6 @@ You need to create a `Google Maps API <https://developers.google.com/maps/docume
You can disable the feature by adding ``GOOGLE_MAPS_ENABLED=false`` to the .env file. You can disable the feature by adding ``GOOGLE_MAPS_ENABLED=false`` to the .env file.
Time Tracking App
"""""""""""""""""
You can create a Windows, macOS or Linux desktop wrapper for the time tracking app by installing `Nativefier <https://github.com/jiahaog/nativefier>`_ and then running:
.. code-block:: shell
nativefier --name "Invoice Ninja" --user-agent "Time Tracker" https://example.com/time_tracker
Voice Commands Voice Commands
"""""""""""""" """"""""""""""

View File

@ -2483,7 +2483,6 @@ $LANG = array(
'time_hrs' => 'hrs', 'time_hrs' => 'hrs',
'clear' => 'Clear', 'clear' => 'Clear',
'warn_payment_gateway' => 'Note: accepting online payments requires a payment gateway, :link to add one.', 'warn_payment_gateway' => 'Note: accepting online payments requires a payment gateway, :link to add one.',
'setup_desktop_app' => 'Setup the desktop app',
'task_rate' => 'Task Rate', 'task_rate' => 'Task Rate',
'task_rate_help' => 'Set the default <b>rate for invoiced tasks</b>.', 'task_rate_help' => 'Set the default <b>rate for invoiced tasks</b>.',
'past_due' => 'Past Due', 'past_due' => 'Past Due',

View File

@ -580,13 +580,8 @@
toastr.options.positionClass = 'toast-bottom-right'; toastr.options.positionClass = 'toast-bottom-right';
if (navigator.userAgent != '{{ TIME_TRACKER_USER_AGENT }}') { if (navigator.userAgent != '{{ TIME_TRACKER_USER_AGENT }}') {
@if (Utils::isNinjaProd()) var link = '{{ config('ninja.time_tracker_web_url') }}';
var link = '{{ config('ninja.time_tracker_web_url') }}'; var message = "{{ trans('texts.download_desktop_app') }}";
var message = "{{ trans('texts.download_desktop_app') }}";
@else
var link = '{{ NINJA_DOCS_URL }}/configure.html#time-tracking-app';
var message = "{{ trans('texts.setup_desktop_app') }}";
@endif
if (isMobile) { if (isMobile) {
toastr.warning("{{ trans('texts.time_tracker_mobile_help')}}", false, { toastr.warning("{{ trans('texts.time_tracker_mobile_help')}}", false, {
timeOut: 5000, timeOut: 5000,