forked from fsulib/embargoes
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
qadan
committed
Aug 4, 2020
1 parent
0ac5e56
commit 3b1e2a6
Showing
2 changed files
with
24 additions
and
3 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,22 @@ | ||
{# | ||
/** | ||
* @file | ||
* Formats an IP restricted page. | ||
* | ||
* Available variables: | ||
* - 'count': the count to display | ||
* - 'embargoes_info': an indexed array containing any information required to | ||
* display each individual embargo. | ||
*/ | ||
#} | ||
|
||
<span id='embargoes_embargo_policy_block_preamble' class='embargoes_embargo_policy_block'>{{ count }}</span> | ||
|
||
{% for info in embargoes_info %} | ||
<hr id='embargoes_embargo_policy_block_separator' class='embargoes_embargo_policy_block'> | ||
<ul class='embargoes_embargo_policy_block embargoes_embargo_policy_block_list'> | ||
<li id='embargoes_embargo_policy_block_expiration_item' class='embargoes_embargo_policy_block embargoes_embargo_policy_block_item'><strong id='embargoes_embargo_policy_block_expiration_label' class='embargoes_embargo_policy_block embargoes_embargo_policy_block_item_label'>{{ info.expiration }}</strong></li> | ||
<li id='embargoes_embargo_policy_block_type_item' class='embargoes_embargo_policy_block embargoes_embargo_policy_block_item'><strong id='embargoes_embargo_policy_block_type_label' class='embargoes_embargo_policy_block embargoes_embargo_policy_block_item_label'>{{ info.type }}</strong></li> | ||
<li id='embargoes_embargo_policy_block_network_item' class='embargoes_embargo_policy_block embargoes_embargo_policy_block_item'><strong id='embargoes_embargo_policy_block_network_label' class='embargoes_embargo_policy_block embargoes_embargo_policy_block_item_label'>{{ info.exempt_ips }}</strong></li> | ||
</ul> | ||
{% endfor %} |