File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1924,3 +1924,9 @@ rect.series-segment {
1924
1924
.relative-options-list li : hover {
1925
1925
background-color : # f5f5f5 ;
1926
1926
}
1927
+
1928
+ /* Search alerts validation links */
1929
+ .link-red a {
1930
+ color : # 8a1f11 ;
1931
+ text-decoration : underline;
1932
+ }
Original file line number Diff line number Diff line change 57
57
< label for ="id_rate "> How often should we notify you?</ label >
58
58
{{ alert_form.rate }}
59
59
{% if alert_form.rate.errors %}
60
- < p class ="help-block ">
60
+ < p class ="help-block link-red ">
61
61
{% for error in alert_form.rate.errors %}
62
62
{{ error|escape }}
63
63
{% endfor %}
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def show_results(request: HttpRequest) -> HttpResponse:
130
130
# Build the context for the limitations of RECAP alerts.
131
131
user = request .user
132
132
alerts_context = None
133
- if user .is_authenticated :
133
+ if user .is_authenticated and hasattr ( user , "profile" ) :
134
134
level = user .membership .level if user .profile .is_member else "free"
135
135
# Get the rate counts.
136
136
counts = Alert .objects .filter (
You can’t perform that action at this time.
0 commit comments