Remove duplicated 'none' and minor adjusts

This commit is contained in:
Marcelo Sizer 2014-01-27 23:27:11 -02:00
parent 06200accad
commit f8bc2d7618
2 changed files with 10 additions and 4 deletions

View file

@ -180,15 +180,21 @@ script(id='partials/options.profile.profile.html', type='text/ng-template')
div(ng-show='!_editing.profile')
h4=env.t('displayname')
span(ng-show='profile.profile.name') {{profile.profile.name}}
span.muted(ng-hide='profile.profile.name')=env.t('none')
span.muted(ng-hide='profile.profile.name') - 
=env.t('none')
|  -
h4=env.t('displayphoto')
img(ng-show='profile.profile.imageUrl', ng-src='{{profile.profile.imageUrl}}')
span.muted(ng-hide='profile.profile.imageUrl')=env.t('none')
span.muted(ng-hide='profile.profile.imageUrl') - 
=env.t('none')
|  -
h4=env.t('displayblurb')
markdown(ng-show='profile.profile.blurb', ng-model='profile.profile.blurb')
span.muted(ng-hide='profile.profile.blurb')=env.t('none')
span.muted(ng-hide='profile.profile.blurb') - 
=env.t('none')
|  -
//{{profile.profile.blurb | linky:'_blank'}}
div.whatever-options(ng-show='_editing.profile')

View file

@ -68,7 +68,7 @@ script(type='text/ng-template', id='partials/options.social.challenges.html')
h4=env.t('groups')
ul.unstyled
a.btn.btn-mini.pull-left(ng-click='selectAll()')=env.t('all')
a.btn.btn-mini(ng-click='selectNone()')=env.t('noNone')
a.btn.btn-mini(ng-click='selectNone()')=env.t('none')
br
label.checkbox(ng-repeat='group in groupsFilter')
input(type='checkbox', ng-model='search.group[group._id]')