1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Possibility to localise Back to App

This commit is contained in:
humancopy 2016-05-01 18:08:16 +02:00
parent 57d82ed1a6
commit c099e68c35
2 changed files with 2 additions and 1 deletions

View file

@ -76,3 +76,4 @@ en: # <---- change this to your locale code
Plugins: Plugins
NotYetEnqueued: Not yet enqueued
CreatedAt: Created At
BackToApp: Back to App

View file

@ -56,7 +56,7 @@
<div class="poll-wrapper pull-right">
<%= erb :_poll_link %>
<% if Sidekiq::Web.app_url %>
<a class="btn btn-inverse" href="<%= Sidekiq::Web.app_url %>">Back to App</a>
<a class="btn btn-inverse" href="<%= Sidekiq::Web.app_url %>"><%= t('BackToApp') %></a>
<% end %>
</div>
</li>