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
Merge requests
!22
Master update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Master update
edugain/OT/edu-gain-technical-site-tw:master
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Tomasz Wolniewicz
requested to merge
edugain/OT/edu-gain-technical-site-tw:master
into
master
11 months ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e2c2bc70
2 commits,
11 months ago
1 file
+
20
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
templates/status/status-members.html
+
20
−
16
Options
@@ -7,28 +7,32 @@
{% set alert_text = 'status OK' %}
{% set error_message = '' %}
{% set problem_class = ' feed-ok' %}
{% if federation.fed.
feed_problem
%}
{%
set alert_icon = 'orange_dot.png'
%}
{% set alert_
text = 'metadata update problem
' %}
{% if federation.fed.status == 6 %}
{% if federation.fed.
status == 6
%}
{%
if federation.fed.feed_problem
%}
{% set alert_
icon = 'orange_dot.png
' %}
{% set alert_text = 'metadata update problem' %}
{% set problem_class = ' feed-problem' %}
{% 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
%}
{%
set
error_message =
error_message
~
'
information
missing
'
%}
{%
endif
%}
{% if federation.fed.
valid_sec
<
=
0
%}
{%
if
federation.fed.
status =
=
5
%}
{%
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
%}
<
div
id=
"{{ federation.fed.code }}_option_div"
class=
"member-div{{ problem_class }}"
style=
"padding-left: 1em;{%
if federation.information_missing
%}color: red;{%
Loading