diff --git a/media/js/newsblur/reader/reader_profile_editor.js b/media/js/newsblur/reader/reader_profile_editor.js index 68cf10308..e45236b06 100644 --- a/media/js/newsblur/reader/reader_profile_editor.js +++ b/media/js/newsblur/reader/reader_profile_editor.js @@ -65,15 +65,15 @@ _.extend(NEWSBLUR.ReaderProfileEditor.prototype, { $.make('label', { 'for': 'NB-profile-bio' }, 'Bio'), $.make('input', { id: 'NB-profile-bio', name: 'bio', type: 'text', className: 'NB-input', style: 'width: 520px', value: this.profile.get('bio'), "data-max": 160 }), $.make('span', { className: 'NB-count NB-count-bio' }), - $.make('label', { 'for': 'NB-profile-privacy-public' }, [ + (NEWSBLUR.Globals.is_admin && $.make('label', { 'for': 'NB-profile-privacy-public' }, [ 'Privacy', (!NEWSBLUR.Globals.is_premium && $.make('div', { className: 'NB-profile-privacy-notpremium' }, [ 'You must have a ', $.make('div', { className: 'NB-splash-link NB-premium' }, 'premium account'), ' to change privacy.' ])) - ]), - $.make('div', { className: 'NB-profile-privacy-options' }, [ + ])), + (NEWSBLUR.Globals.is_admin && $.make('div', { className: 'NB-profile-privacy-options' }, [ $.make('div', { className: 'NB-profile-privacy-option' }, [ $.make('input', { id: 'NB-profile-privacy-public', @@ -121,7 +121,7 @@ _.extend(NEWSBLUR.ReaderProfileEditor.prototype, { $.make('span', 'Only people I approve can see my shared stories and reply to me') ]) ]) - ]) + ])) ]) ]) ]),