Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Technical Site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN OT
eduGAIN Technical Site
Commits
e84df4c1
Commit
e84df4c1
authored
1 year ago
by
Tomasz Wolniewicz
Browse files
Options
Downloads
Plain Diff
Merge branch 'cherry-pick-
3907a9ea
' into 'psnc-production'
Merge branch 'master' into 'master' See merge request
!23
parents
ac1d9edb
6ee8414d
No related branches found
No related tags found
1 merge request
!23
Merge branch 'master' into 'master'
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/status/status-members.html
+20
-16
20 additions, 16 deletions
templates/status/status-members.html
with
20 additions
and
16 deletions
templates/status/status-members.html
+
20
−
16
View file @
e84df4c1
...
@@ -7,28 +7,32 @@
...
@@ -7,28 +7,32 @@
{% set alert_text = 'status OK' %}
{% set alert_text = 'status OK' %}
{% set error_message = '' %}
{% set error_message = '' %}
{% set problem_class = ' feed-ok' %}
{% set problem_class = ' feed-ok' %}
{% if federation.fed.
feed_problem
%}
{% if federation.fed.
status == 6
%}
{%
set alert_icon = 'orange_dot.png'
%}
{%
if federation.fed.feed_problem
%}
{% set alert_
text = 'metadata update problem
' %}
{% set alert_
icon = 'orange_dot.png
' %}
{% if federation.fed.status == 6 %}
{% set alert_text = 'metadata update problem' %}
{% set problem_class = ' feed-problem' %}
{% set problem_class = ' feed-problem' %}
{% endif %}
{% endif %}
{% endif %}
{% if federation.fed.valid_sec
<
=
0
%}
{%
set
alert_icon =
'red_dot.png'
%}
{%
set
alert_text =
'metadata dropped'
%}
{%
set
problem_class =
' feed-problem'
%}
{%
elseif
federation.fed.valid_sec
<=
constant
('
VALIDITY_ALERT_THRESHOLD
')
%}
{%
set
alert_icon =
'orange_dot.png'
%}
{%
set
alert_text =
'validUnitl under '
~
constant
('
VALIDITY_ALERT_THRESHOLD
')/3600
~
'
hours
'
%}
{%
elseif
federation.fed.valid_sec
<
constant
('
VALIDITY_WARNING_THRESHOLD
')
%}
{%
set
alert_icon =
'blue_dot.png'
%}
{%
set
problem_class =
' feed-problem'
%}
{%
set
alert_text =
'validUnitl between '
~
constant
('
VALIDITY_ALERT_THRESHOLD
')/3600
~
'
and
'
~
constant
('
VALIDITY_WARNING_THRESHOLD
')/3600
~
'
hours
'
%}
{%
endif
%}
{%
endif
%}
{%
if
federation.information_missing
%}
{%
if
federation.information_missing
%}
{%
set
error_message =
error_message
~
'
information
missing
'
%}
{%
set
error_message =
error_message
~
'
information
missing
'
%}
{%
endif
%}
{%
endif
%}
{% if federation.fed.
valid_sec
<
=
0
%}
{%
if
federation.fed.
status =
=
5
%}
{%
set
alert_icon =
'red_dot.png'
%}
{%
set
alert_icon =
'red_dot.png'
%}
{%
set
alert_text =
'metadata dropped'
%}
{%
endif
%}
{%
set
problem_class =
' feed-problem'
%}
{%
elseif
federation.fed.valid_sec
<=
constant
('
VALIDITY_ALERT_THRESHOLD
')
%}
{%
set
alert_icon =
'orange_dot.png'
%}
{%
set
alert_text =
'validUnitl under '
~
constant
('
VALIDITY_ALERT_THRESHOLD
')/3600
~
'
hours
'
%}
{%
elseif
federation.fed.valid_sec
<
constant
('
VALIDITY_WARNING_THRESHOLD
')
%}
{%
set
alert_icon =
'blue_dot.png'
%}
{%
set
problem_class =
' feed-problem'
%}
{%
set
alert_text =
'validUnitl between '
~
constant
('
VALIDITY_ALERT_THRESHOLD
')/3600
~
'
and
'
~
constant
('
VALIDITY_WARNING_THRESHOLD
')/3600
~
'
hours
'
%}
{%
endif
%}
<
div
id=
"{{ federation.fed.code }}_option_div"
class=
"member-div{{ problem_class }}"
style=
"padding-left: 1em;{%
<
div
id=
"{{ federation.fed.code }}_option_div"
class=
"member-div{{ problem_class }}"
style=
"padding-left: 1em;{%
if federation.information_missing
if federation.information_missing
%}color: red;{%
%}color: red;{%
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment