diff --git a/app/views/time_trackers/index.rhtml b/app/views/time_trackers/index.rhtml index 06869e84..b70af559 100644 --- a/app/views/time_trackers/index.rhtml +++ b/app/views/time_trackers/index.rhtml @@ -14,6 +14,7 @@ <%= l(:label_issue) %> <%= l(:time_tracker_label_start_date) %> <%= l(:label_spent_time) %> + <%= l(:time_tracker_label_paused_status) %> <%= l(:time_tracker_label_action) %> @@ -30,6 +31,7 @@ <%= link_to_issue issue_from_id(time_tracker[:issue_id]), :project => true %> <%= format_time(time_tracker[:started_on]) %> <%= time_tracker.time_spent_to_s %> + <%= time_tracker.paused? %> <%= link_to_remote l(:time_tracker_label_delete), :url => { :controller => 'time_trackers', :action => 'delete', :id => time_tracker.id }, @@ -61,6 +63,7 @@ <%= l(:label_issue) %> <%= l(:time_tracker_label_start_date) %> <%= l(:label_spent_time) %> + <%= l(:time_tracker_label_paused_status) %> <%= l(:time_tracker_label_action) %> @@ -78,6 +81,7 @@ <%= link_to_issue issue_from_id(time_tracker[:issue_id]), :project => true %> <%= format_time(time_tracker[:started_on]) %> <%= time_tracker.time_spent_to_s %> + <%= time_tracker.paused? %> <% if User.current.allowed_to?(:delete_others_time_trackers, nil, :global => true) %> <%= link_to_remote l(:time_tracker_label_delete), diff --git a/assets/stylesheets/time_tracker.css b/assets/stylesheets/time_tracker.css index 8a8d4735..be2a3e6e 100644 --- a/assets/stylesheets/time_tracker.css +++ b/assets/stylesheets/time_tracker.css @@ -25,6 +25,7 @@ #time-tracker-admin td.start-date, #time-tracker-admin td.spent-time, +#time-tracker-admin td.paused-status, #time-tracker-admin td.msg { text-align: center; } diff --git a/config/locales/en.yml b/config/locales/en.yml index 454834f4..722bcabf 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -20,6 +20,7 @@ en: time_tracker_label_action: "Action" time_tracker_label_delete: "Delete" time_tracker_label_start_date: "Start date" + time_tracker_label_paused_status: "Paused?" time_tracker_label_transition_journal: "Status transition applied automatically due to the start of a time tracker." time_tracker_label_your_time_trackers: "Your time tracker" time_tracker_label_other_time_trackers: "Other user's time trackers" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 3b071a78..34eb7ad8 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -12,6 +12,7 @@ pt: time_tracker_admin_menu: "Time trackers" time_tracker_admin_title: "Time trackers" time_tracker_label_start_date: "Data inicial" + time_tracker_label_paused_status: "Pausado?" time_tracker_label_action: "Acção" time_tracker_label_delete: "Eliminar" time_tracker_delete_success: "Time tracker eliminado com sucesso"