Skip to content
Snippets Groups Projects

Twoln dev

Closed Tomasz Wolniewicz requested to merge twoln-dev into master
2 files
+ 24
14
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -6,9 +6,13 @@
{% set alert_icon = 'green_dot.png' %}
{% 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' %}
{% set alert_text = 'metadata update problem' %}
{% if federation.fed.status == 6 %}
{% set problem_class = ' feed-problem' %}
{% endif %}
{% endif %}
{% if federation.information_missing %}
{% set error_message = error_message ~ ' information missing' %}
@@ -23,7 +27,7 @@
{% set alert_icon = 'blue_dot.png' %}
{% 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" style="padding-left: 1em;{%
<div id="{{ federation.fed.code }}_option_div" class="member-div{{ problem_class }}" style="padding-left: 1em;{%
if federation.information_missing
%}color: red;{%
endif
Loading