Skip to content

Commit

Permalink
Merge pull request #44 from otaviofcs/master
Browse files Browse the repository at this point in the history
hy delaitre, issue #42 done
  • Loading branch information
fernandokosh committed Apr 1, 2014
2 parents 2d8b127 + 85ac968 commit 64f05b9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/time_trackers/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<th class="issue"><%= l(:label_issue) %></th>
<th class="start-date"><%= l(:time_tracker_label_start_date) %></th>
<th class="spent-time"><%= l(:label_spent_time) %></th>
<th class="suspended-status"><%= l(:time_tracker_label_suspended_status) %></th>
<th class="buttons"><%= l(:time_tracker_label_action) %></th>
</tr>
</thead>
Expand All @@ -30,6 +31,7 @@
<td class="issue"><%= link_to_issue issue_from_id(time_tracker[:issue_id]), :project => true %></td>
<td class="start-date"><%= format_time(time_tracker[:started_on]) %></td>
<td class="spent-time"><%= time_tracker.time_spent_to_s %></td>
<td class="suspended_status"><%= time_tracker.paused? %></td>
<td class="buttons">
<%= link_to_remote l(:time_tracker_label_delete),
:url => { :controller => '/time_trackers', :action => 'delete', :id => time_tracker.id },
Expand Down Expand Up @@ -61,6 +63,7 @@
<th class="issue"><%= l(:label_issue) %></th>
<th class="start-date"><%= l(:time_tracker_label_start_date) %></th>
<th class="spent-time"><%= l(:label_spent_time) %></th>
<th class="suspended-status"><%= l(:time_tracker_label_suspended_status) %></th>
<th class="buttons"><%= l(:time_tracker_label_action) %></th>
</tr>
</thead>
Expand All @@ -78,6 +81,7 @@
<td class="issue"><%= link_to_issue issue_from_id(time_tracker[:issue_id]), :project => true %></td>
<td class="start-date"><%= format_time(time_tracker[:started_on]) %></td>
<td class="spent-time"><%= time_tracker.time_spent_to_s %></td>
<td class="suspended-status"><%= time_tracker.paused? %></td>
<td class="buttons">
<% if User.current.allowed_to?(:delete_others_time_trackers, nil, :global => true) %>
<%= link_to_remote l(:time_tracker_label_delete),
Expand Down
1 change: 1 addition & 0 deletions assets/stylesheets/time_tracker.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions config/locales/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 64f05b9

Please sign in to comment.