-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Citadel: Implement warning threshold
Also add error message
- Loading branch information
1 parent
a00e1ba
commit dc3eb01
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% from 'message_box.html' import message_box %} | ||
|
||
{% call message_box('warning', large_icon=true, fixed_width=true) %} | ||
{% trans category_title=category.title, max_events_threshold=threshold -%} | ||
<b>The '{{ category_title }}' category contains over {{ max_events_threshold }} events - this may cause performance issues.</b> | ||
<br/> | ||
Please consider using groups instead of individual users to avoid having to re-send large amounts of changes to users individually. | ||
{%- endtrans %} | ||
{% endcall %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters