mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 23:41:48 +01:00
add cucumber scenarios for new preferences
This commit is contained in:
parent
555311b681
commit
40a7cc2d3a
9 changed files with 70 additions and 11 deletions
|
|
@ -1,8 +1,19 @@
|
|||
<label><%= t('preferences.token_header') %></label><br/><br/>
|
||||
<%= t('preferences.token_description') %>: <span class="highlight"><%= current_user.token %></span>
|
||||
<br/><br/>
|
||||
|
||||
<div class="pref_new_token">
|
||||
|
||||
<% # TODO: make remote AJAX call for new token %>
|
||||
<%= button_to t('preferences.generate_new_token'), refresh_token_user_path(current_user),
|
||||
:confirm => t('preferences.generate_new_token_confirm') %>
|
||||
|
||||
<%= link_to(
|
||||
t('preferences.generate_new_token'),
|
||||
refresh_token_user_path( current_user ),
|
||||
:method => :post,
|
||||
:confirm => t('preferences.generate_new_token_confirm'),
|
||||
:id=>'prefs_new_token') %>
|
||||
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<% if Tracks::Config.auth_schemes.length > 1 %>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div id="footer">
|
||||
<p><%= t('footer.send_feedback', :version => TRACKS_VERSION) %>: <a href="http://www.assembla.com/spaces/tracks-tickets/tickets"><%= t('common.bugs')%></a> |
|
||||
<p><%= t('footer.send_feedback', :version => TRACKS_VERSION) %>: <a href="http://www.assembla.com/spaces/tracks-tickets/tickets"><%= t('common.bugs')%></a> |
|
||||
<a href="http://www.getontracks.org/forums/"><%= t('common.forum')%></a> |
|
||||
<a href="http://www.getontracks.org/wiki/"><%= t('common.wiki')%></a> |
|
||||
<a href="https://github.com/TracksApp/tracks/wiki"><%= t('common.wiki')%></a> |
|
||||
<a href="mailto:butshesagirl@rousette.org.uk?subject=Tracks feedback"><%= t('common.email')%></a> |
|
||||
<a href="http://www.getontracks.org/"><%= t('common.website')%></a> |
|
||||
<a href="http://getontracks.org/tracks/contribute"><%= t('common.contribute')%></a></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue