Commit a28098f8 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Remove hardcoded urls from templates

use IM_STATIC_URL instead
parent b64f71f0
......@@ -6,7 +6,7 @@
<h2>HOW IT WORKS</h2>
<div class="centered how-it-works">
<div class="wrap">
<img src="/static/im/images/how_it_works.png" alt="how it all works">
<img src="{{ IM_STATIC_URL }}images/how_it_works.png" alt="how it all works">
<a href="{% url project_list %}" class="submit">VISIT PROJECTS NOW</a>
<a href="https://okeanos.grnet.gr/" class="map link-13">&nbsp;</a>
<a href="{% url project_list %}" class="map link-21">&nbsp;</a>
......
......@@ -8,7 +8,10 @@
<li class="create">
<div>
<div class="wrap">
<p class="centered"><a href="{% url project_add %}"><img alt="THINK ABOUT IT" src="/static/im/images/create.png"></a></p>
<p class="centered"><a href="{% url project_add %}">
<img alt="THINK ABOUT IT"
src="{{ IM_STATIC_URL }}images/create.png"></a>
</p>
<p class="txt">
{% blocktrans %}
Create a new Project. Name it, describe its purpose,
......@@ -24,7 +27,9 @@
<li class="join">
<div>
<div class="wrap">
<p class="centered"><a href="{% url project_search %}"><img alt="THINK ABOUT IT" src="/static/im/images/join.png"></a></p>
<p class="centered"><a href="{% url project_search %}">
<img alt="THINK ABOUT IT" src="{{ IM_STATIC_URL }}images/join.png"></a>
</p>
<p class="txt">
{% blocktrans %}
Request to be a member of an existing Project
......
......@@ -120,7 +120,7 @@ exactly your request.</p>
<a href="#{{ g }}"
id="{{'group_'|add:g}}"
{% if g in groups %}class="selected"{% endif %}>
<img src="/static/im/images/create-{{ g }}.png" alt="vm"/></a>
<img src="{{ IM_STATIC_URL }}images/create-{{ g }}.png" alt="vm"/></a>
<input type="hidden" name="proxy_{{ 'is_selected_'|add:g }}"
id="proxy_{{ 'id_is_selected_'|add:g }}" {% if g in groups %}value="1"{% else %}value="0"{% endif %}>
<input type="hidden" name="{{ 'is_selected_'|add:g }}" id="{{ 'id_is_selected_'|add:g }}" {% if g in groups %}value="1"{% else %}value="0"{% endif %}>
......
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