Skip to content

Commit a1f0fca

Browse files
committed
Elevated warnings to danger for critical issues
This helps set these apart from more informational warnings. These are rare, critical scenarios that should have attention drawn to them.
1 parent 4e17a5e commit a1f0fca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • OnTopic.Editor.AspNetCore/Areas/Editor/Views/Editor

OnTopic.Editor.AspNetCore/Areas/Editor/Views/Editor/Edit.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121

2222
<div class="col-md-12">
2323
@if (Model.ContentTypeDescriptor.DisableDelete && !Model.IsNew) {
24-
<div class="alert alert-warning" role="alert">
24+
<div class="alert alert-danger" role="alert">
2525
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
2626
<strong>Warning:</strong> This topic is part of the OnTopic internal organizational structure and is not intended to be modified. Deletion of this Topic has been disabled.
2727
</div>
2828
}
2929
@if (Model.Topic.IsDisabled) {
30-
<div class="alert alert-warning" role="alert">
30+
<div class="alert alert-danger" role="alert">
3131
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
3232
<strong>Warning:</strong> This topic is currently disabled and will not be viewable via the website. This topic can be reenabled on the <i>Navigation</i> tab.
3333
</div>
3434
}
3535
@if (!Model.IsFullyLoaded) {
36-
<div class="alert alert-warning" role="alert">
36+
<div class="alert alert-danger" role="alert">
3737
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
3838
<strong>Warning:</strong> Not all relationships were successfully loaded from the database. To prevent inadvertent deletion of relationships, any relationships that are removed won't be persisted to the database. You can still add new relationships.
3939
</div>

0 commit comments

Comments
 (0)