diff --git a/app/views/time_trackers/index.rhtml b/app/views/time_trackers/index.rhtml
index bc99eebe..b97d1c86 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_suspended_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_suspended_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..79a5462e 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.suspended-status,
#time-tracker-admin td.msg {
text-align: center;
}
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 454834f4..79a0ccc1 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_suspended_status: "Suspended?"
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..4afc8342 100644
--- a/config/locales/pt.yml
+++ b/config/locales/pt.yml
@@ -5,13 +5,18 @@ pt:
time_tracker_not_running: "Não está em execução"
start_time_tracker_error: "Falha ao iniciar o time tracker"
time_tracker_already_running_error: "Um time tracker já está em execução"
+ no_time_tracker: "Nenhum time tracker"
no_time_tracker_running: "Nenhum time tracker em execução"
+ no_time_tracker_suspended: "Nenhum time tracker pausado"
+ suspend_time_tracker: "pausado"
+ suspend_time_tracker_error: "Falha ao suspender o time tracker"
time_tracker_hour_sym: ":"
time_tracker_refresh_rate: "Taxa de actualização"
time_tracker_seconds: "segundos"
time_tracker_admin_menu: "Time trackers"
time_tracker_admin_title: "Time trackers"
time_tracker_label_start_date: "Data inicial"
+ time_tracker_label_suspended_status: "Pausado?"
time_tracker_label_action: "Acção"
time_tracker_label_delete: "Eliminar"
time_tracker_delete_success: "Time tracker eliminado com sucesso"
|