Commit 8cf90242 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Remove obsolete strip_http from the templates

parent 522e8a60
......@@ -17,7 +17,7 @@
{% endif %}
</em>
{% endif %}
<span>{{ object.name|strip_http|upper }}</span>
<span>{{ object.name|upper }}</span>
</h2>
<div class="details">
......@@ -57,7 +57,7 @@
<h3>DETAILS</h3>
<dl class="alt-style">
<dt>Name</dt>
<dd>{{ object.name|strip_http }}&nbsp;</dd>
<dd>{{ object.name }}&nbsp;</dd>
<!--<dt>Type</dt>
<dd>{{object.kindname|capfirst}}&nbsp;</dd>-->
<dt>Issue date:</dt>
......
......@@ -27,7 +27,7 @@
<h3>DETAILS</h3>
<dl class="alt-style">
<dt>Name</dt>
<dd>{{ data.name|strip_http }}&nbsp;</dd>
<dd>{{ data.name }}&nbsp;</dd>
<!--<dt>Type</dt>
<dd>Course&nbsp;</dd>-->
<dt>Issue date:</dt>
......
......@@ -158,9 +158,9 @@ def items(d):
def get_value_after_dot(value):
return value.split(".")[1]
@register.filter
def strip_http(value):
return value.replace('http://','')[:-1]
# @register.filter
# def strip_http(value):
# return value.replace('http://','')[:-1]
from math import log
......
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