Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
8ac5d4c2
Commit
8ac5d4c2
authored
Oct 12, 2011
by
stef
Browse files
[enh] reordered details view/added heading
parent
b08521ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/view.html
View file @
8ac5d4c2
...
...
@@ -55,6 +55,13 @@ $(document).ready(function() {
<div
id=
'global'
>
<h2>
{{v.operator}} ({{v.country}}) {{v.contract}}
</h2>
<ul
id=
"report"
>
{%if v.resource_name%}
<li><dl><dt>
{% trans "Resource" %}
</dt><dd>
{{v.resource_name}}
</dd></dl></li>
{%endif%}
{%if v.type%}
<li><dl><dt>
{% trans "Type" %}
</dt><dd>
{{v.type}}
</dd></dl></li>
{%endif%}
{%if v.media%}
<li><dl><dt>
{% trans "Media" %}
</dt><dd>
{{v.media}}
</dd></dl></li>
{%endif%}
{%if v.temporary%}
<li><dl><dt>
{% trans "Temporary restriction" %}
</dt><dd>
{{v.temporary}}
</dd></dl></li>
{%endif%}
{%if v.loophole%}
<li><dl><dt>
{% trans "Loophole offering" %}
</dt><dd>
{% trans "yes" %}
</dd></dl></li>
{%endif%}
{%if v.contractual%}
<li><dl><dt>
{% trans "Contractual restriction" %}
</dt><dd>
{% trans "yes" %}
</dd></dl></li>
{%endif%}
{%if v.contract_excerpt%}
<li><dl><dt>
{% trans "Contract excerpt" %}
</dt><dd
class=
'text'
>
{{v.contract_excerpt|safe}}
</dd></dl></li>
{%endif%}
{%if v.comment_set.all%}
<li
id=
"description"
class=
'round-box'
>
<h3>
{%trans "Description" %}
</h3>
...
...
@@ -75,14 +82,8 @@ $(document).ready(function() {
</div>
{%endfor%}
</li>
{%if v.resource_name%}
<li><dl><dt>
{% trans "Resource" %}
</dt><dd>
{{v.resource_name}}
</dd></dl></li>
{%endif%}
{%if v.type%}
<li><dl><dt>
{% trans "Type" %}
</dt><dd>
{{v.type}}
</dd></dl></li>
{%endif%}
{%if v.media%}
<li><dl><dt>
{% trans "Media" %}
</dt><dd>
{{v.media}}
</dd></dl></li>
{%endif%}
{%if v.temporary%}
<li><dl><dt>
{% trans "Temporary restriction" %}
</dt><dd>
{{v.temporary}}
</dd></dl></li>
{%endif%}
{%if v.loophole%}
<li><dl><dt>
{% trans "Loophole offering" %}
</dt><dd>
{% trans "yes" %}
</dd></dl></li>
{%endif%}
{%if v.contractual%}
<li><dl><dt>
{% trans "Contractual restriction" %}
</dt><dd>
{% trans "yes" %}
</dd></dl></li>
{%endif%}
{%if v.contract_excerpt%}
<li><dl><dt>
{% trans "Contract excerpt" %}
</dt><dd
class=
'text'
>
{{v.contract_excerpt|safe}}
</dd></dl></li>
{%endif%}
</ul>
<h3>
{%trans "Confirm this restriction if you experience it as well" %}
</h3>
<div
class=
"info-validate"
style=
"display: inline-block;"
>
<form
method=
"get"
id=
"{{ v.pk }}"
class=
"confirm_form"
>
<label>
{% trans "In order to
<strong>
confirm
</strong>
this report, please enter your email address" %}
</label>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment