*/
private function checkStatusPreference() {
$this->hiddenUntil = FALSE;
- // Debug, info & notice can't be hidden
- if ($this->level < 3) {
+ // Debug & info can't be hidden
+ if ($this->level < 2) {
return FALSE;
}
$statusPreferenceParams = array(
<div ng-if="!status.is_visible">
<button ng-click="setPref(status, '', 1)" type="button" >{{ts('Unhide')}}</button>
</div>
-<div ng-if="status.is_visible && status.severity_id >= 3">
+<div ng-if="status.is_visible && status.severity_id >= 2">
<button type="button" class="hush-menu-button">{{ts('Hide')}}</button>
<ul style="display:none;">
<li ng-click="setPref(status, 'now + 1 week', 0)">{{ts('Remind me again in a week')}}</li>
$scope.countVisible = function(visibility) {
return _.filter($scope.statuses, function(s) {
- return s.is_visible == visibility && s.severity_id >= 3;
+ return s.is_visible == visibility && s.severity_id >= 2;
}).length;
};
});