Commit 93dc3c4f authored by Kenneth Chu's avatar Kenneth Chu

Remove redundant variables

parent ded1f27a
......@@ -22,14 +22,12 @@
.account-well.gl-mb-3
%ul
%li
- profile_address = profile_path
- profile_message = _('Your primary email is used for avatar detection. You can change it in your %{openingTag}profile settings%{closingTag}.') % { openingTag: "<a href='#{profile_address}'>".html_safe, closingTag: '</a>'.html_safe}
- profile_message = _('Your primary email is used for avatar detection. You can change it in your %{openingTag}profile settings%{closingTag}.') % { openingTag: "<a href='#{profile_path}'>".html_safe, closingTag: '</a>'.html_safe}
= profile_message.html_safe
%li
= _('Your commit email is used for web based operations, such as edits and merges.')
%li
- notification_address = profile_notifications_path
- notification_message = _('Your default notification email is used for account notifications if a %{openingTag}group-specific email address%{closingTag} is not set.') % { openingTag: "<a href='#{notification_address}'>".html_safe, closingTag: '</a>'.html_safe}
- notification_message = _('Your default notification email is used for account notifications if a %{openingTag}group-specific email address%{closingTag} is not set.') % { openingTag: "<a href='#{profile_notifications_path}'>".html_safe, closingTag: '</a>'.html_safe}
= notification_message.html_safe
%li
= _('Your public email will be displayed on your public profile.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment