Commit 4c3d2a70 authored by dario's avatar dario

style/fsi_inf: attempt to improve "internal only" notice

apparently there is no way to change the timeout until the title=".."
tooltip shows

references #101
parent 1ccedc0f
......@@ -358,6 +358,27 @@ div.searchbox > form > input {
float: left;
}
span.help:after
{
content: "";
display: block;
background: url(/static/assets/questionmark.svg) no-repeat;
background-size: 1.3em;
width: 1.4em;
height: 1.4em;
float: right;
margin: 0 0 0 6px;
}
span.help
{
color: red;
height: 1.4em;
font-weight: bold !important;
float: right;
cursor: help;
}
ul#entries, ul.sem, ul#latest
{
......
......@@ -11,8 +11,8 @@
{{ caller() }}
{% if edit == False %}
(<a style="display:inline; border: none;" href="{{entry|univislink|escape}}"><img src="https://univis.uni-erlangen.de/img/anew/univis_96_20.gif" alt="UnivIS" style="height: .8em;" /></a>)
{% if entry.internal_net_only and not is_internal %}
<span class="state">[nur intern]</span>
{% if entry.metadata.get('internal_net_only', False) and not is_internal %}
<span class="help" title="Diese Evaluation kann auf Bitten des Dozenten nur innerhalb des Uni-Netzwerkes abgerufen werden">[nur intern]</span>
{% endif %}
{% else %}
<span class="state"><a style="display:inline; border: none; background: none;" href="{{moddir}}/edit/{{entry.id}}">Editieren</a></span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment