Skip to content

Commit

Permalink
Merge pull request #7636 from seekingalpha/add-notification-classes
Browse files Browse the repository at this point in the history
[NEW] Add classes to notification menu so they can be hidden in css
  • Loading branch information
rodrigok authored Aug 23, 2017
2 parents 78087a8 + 5663349 commit b588d78
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ <h2>{{_ "Notifications"}}</h2>
</div>
<form>
<ul class="list clearfix">
<li>
<li class="disable-notifications">
<label>{{_ "Disable_Notifications"}}</label>
<div class="input checkbox toggle">
<input type="checkbox" id="disableNotifications" name="disableNotifications" value="1" checked="{{$eq disableNotifications true}}" />
<label for="disableNotifications"></label>
</div>
</li>
{{#if $neq disableNotifications true}}
<li>
<li class="audio-notifications">
<label>{{_ "Audio"}}</label>
<div>
{{#if editing 'audioNotification'}}
Expand All @@ -34,7 +34,7 @@ <h2>{{_ "Notifications"}}</h2>
{{/if}}
</div>
</li>
<li>
<li class="desktop-notifications">
<label>{{_ "Desktop"}}</label>
<div>
{{#if editing 'desktopNotifications'}}
Expand All @@ -57,14 +57,14 @@ <h2>{{_ "Notifications"}}</h2>
</div>
</li>
{{#unless editing 'desktopNotifications'}}
<li>
<li class="desktop-notifications-duration">
<label>{{_ "Desktop_Notifications_Duration"}}</label>
<div>
<span class="current-setting">{{#if desktopNotificationDuration}}{{desktopNotificationDuration}} {{_"seconds"}}{{else}}{{_ "Use_User_Preferences_or_Global_Settings"}}{{/if}}</span>
</div>
</li>
{{/unless}}
<li>
<li class="mobile-notifications">
<label>{{_ "Mobile"}}</label>
<div>
{{#if editing 'mobilePushNotifications'}}
Expand All @@ -79,7 +79,7 @@ <h2>{{_ "Notifications"}}</h2>
{{/if}}
</div>
</li>
<li>
<li class="email-notifications">
<label>{{_ "Email"}}</label>
<div>
{{#if editing 'emailNotifications'}}
Expand All @@ -97,21 +97,21 @@ <h2>{{_ "Notifications"}}</h2>
</div>
</li>
{{#unless emailVerified}}
<li>
<li class="email-alerts">
<div class="alert alert-warning pending-background pending-border">
{{_ "You_wont_receive_email_notifications_because_you_have_not_verified_your_email"}}
</div>
</li>
{{/unless}}
{{/if}}
<li>
<li class="unread-room-status">
<label>{{_ "Hide_Unread_Room_Status"}}</label>
<div class="input checkbox toggle">
<input type="checkbox" id="hideUnreadStatus" name="hideUnreadStatus" value="1" checked="{{$eq hideUnreadStatus true}}" />
<label for="hideUnreadStatus"></label>
</div>
</li>
<li>
<li class="unread-alerts">
<label>{{_ "Unread_Tray_Icon_Alert"}}</label>
<div>
{{#if editing 'unreadAlert'}}
Expand Down

0 comments on commit b588d78

Please sign in to comment.