Skip to content

Commit

Permalink
Merge pull request #1552 from xmera-circle/improvement/adds-further-t…
Browse files Browse the repository at this point in the history
…ext-to-reset-button-of-webdav-digest

Adds further text to reset button of webdav digest
  • Loading branch information
picman authored Oct 3, 2024
2 parents 98df43e + 92586c7 commit 88bab64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/hooks/redmine_dmsf/_view_my_account.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
<% token = Token.find_by(user_id: @user.id, action: 'dmsf_webdav_digest') %>
<% if token %>
<%= l(:label_dmsf_webdav_digest_created_on, distance_of_time_in_words(Time.now, token.created_on)) %>
(<%= link_to l(:button_reset), dmsf_digest_path, remote: true, id: 'webdav_digest_reset' %>)
<% else %>
<%= l(:label_missing_dmsf_webdav_digest) %>
(<%= link_to l(:button_add), dmsf_digest_path, remote: true, id: 'webdav_digest_reset' %>)
<% end %>
(<%= link_to l(:button_reset), dmsf_digest_path, remote: true, id: 'webdav_digest_reset' %>)
</p>
<% end %>

0 comments on commit 88bab64

Please sign in to comment.