Skip to content

Commit

Permalink
Use correct css class for edit account link in collapsible nav
Browse files Browse the repository at this point in the history
The link still shows the text when the navigation
is collapsed and the title was missing..
  • Loading branch information
krauselukas committed Oct 16, 2020
1 parent d09333f commit 028315d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/app/views/webui/user/_edit_account.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
- content_for :actions do
- if account_edit_link.present?
%li.nav-item
= link_to(account_edit_link, class: 'nav-link') do
= link_to(account_edit_link, class: 'nav-link', title: 'Edit Your Account') do
%i.fas.fa-lg.mr-2.fa-user-edit
Edit your account
%span.nav-item-name Edit your account
- else
%li.nav-item
= link_to('#', data: { toggle: 'modal', target: '#edit-modal' }, class: 'nav-link', title: 'Edit Your Account') do
Expand Down

0 comments on commit 028315d

Please sign in to comment.