i'm using meteor-accounts-ui-bootstrap-3
in meteor app let users register , login. working well. want change, displayed {{ > loginbuttons }}
. right see 'login / register'. want replace font awesome icon <i class="fa fa-user"></i>
. icon, no text.
but can't find right place make changes.
i tried do:
accountsuibootstrap3.map('en', { loginbuttonsloggedoutdropdown: { signin: '<i class="fa fa-user"></i>', up: "register" } })
but html won't rendered. can't remove /
still shown in front of 'register'.
the /
hardcoded here. might able achieve want replacing _loginbuttonsloggedoutdropdown
template modified version, doing this:
some html file:
<template name="my_loginbuttonsloggedoutdropdown"> <li id="login-dropdown-list" class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <b class="caret"></b></a> <div class="dropdown-menu"> {{> _loginbuttonsloggedoutallservices}} </div> </li> </template>
some client-side js code:
template._loginbuttonsloggedoutdropdown = template.my_loginbuttonsloggedoutdropdown;
Comments
Post a Comment