Moved account info to profile menu, hiding icon if not defined.

main
Julian Lam 7 years ago
parent b540211091
commit 1a3f1f9d6f

@ -25,7 +25,6 @@
<!-- IF showHidden -->
<li><a href="{config.relative_path}/user/{userslug}/settings">[[user:settings]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/edit">[[user:edit]]</a></li>
<li><a href="{config.relative_path}/user/{userslug}/info">[[user:account_info]] <i class="fa fa-lock"></i></a></li>
<!-- ENDIF showHidden -->
<!-- IF !isSelf -->
@ -71,7 +70,7 @@
<!-- IF @first -->
<li class="divider"></li>
<!-- ENDIF @first -->
<li id="{profile_links.id}" class="plugin-link <!-- IF profile_links.public -->public<!-- ELSE -->private<!-- ENDIF profile_links.public -->"><a href="{config.relative_path}/user/{userslug}/{profile_links.route}"><i class="fa fa-fw {profile_links.icon}"></i> {profile_links.name}</a></li>
<li id="{profile_links.id}" class="plugin-link <!-- IF profile_links.public -->public<!-- ELSE -->private<!-- ENDIF profile_links.public -->"><a href="{config.relative_path}/user/{userslug}/{profile_links.route}"><!-- IF ../icon --><i class="fa fa-fw {profile_links.icon}"></i> <!-- END -->{profile_links.name}</a></li>
<!-- END profile_links -->
</ul>
</div>

Loading…
Cancel
Save