UX: Add icons to all navigation link on user page (#18283)

This commit is contained in:
Alan Guo Xiang Tan 2022-09-20 12:44:40 +08:00 committed by GitHub
parent 37777ac3a2
commit 27bff3fcfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 2 deletions

View File

@ -228,8 +228,19 @@
<section class="user-primary-navigation">
<MobileNav @class="main-nav" @desktopClass="nav nav-pills user-nav">
{{#unless this.model.profile_hidden}}
<li class="summary"><LinkTo @route="user.summary">{{i18n 'user.summary.title'}}</LinkTo></li>
<li class="activity"><LinkTo @route="userActivity">{{i18n 'user.activity_stream'}}</LinkTo></li>
<li class="summary">
<LinkTo @route="user.summary">
{{d-icon "user"}}
{{i18n 'user.summary.title'}}
</LinkTo>
</li>
<li class="activity">
<LinkTo @route="userActivity">
{{d-icon "stream"}}
{{i18n 'user.activity_stream'}}
</LinkTo>
</li>
{{/unless}}
{{#if this.showNotificationsTab}}
<li class="user-notifications">