Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2a3d77a2
authored
Mar 01, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
school: remove hard coded urls
parent
dc58db24
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
school/templates/box/group/box.html
+1
-1
school/templates/box/group/entry.html
+5
-4
school/templates/box/person/entry.html
+2
-1
school/templates/show-group.html
+2
-1
No files found.
school/templates/box/group/box.html
View file @
2a3d77a2
...
...
@@ -36,7 +36,7 @@
<div
class=
"clear"
></div>
</div>
<div
id=
"new-group-wizard"
style=
"display: none"
>
<form
action=
"
/group/new/
"
method=
"POST"
class=
"wizard"
>
<form
action=
"
{% url school.views.group_new %}
"
method=
"POST"
class=
"wizard"
>
{% csrf_token %}
<h3>
{% trans "Create new group" %}
</h3>
<ul>
...
...
school/templates/box/group/entry.html
View file @
2a3d77a2
{% extends "box/base/entry.html" %}
{% load i18n %}
{% load staticfiles %}
{% get_current_language as LANGUAGE_CODE %}
{% block content %}
...
...
@@ -12,14 +13,14 @@
<div
class=
"summary"
>
<div
class=
"name"
>
{{ group.name }}
<small
class=
"details"
>
(
<a
href=
"
/group/show/{{group.id
}}"
>
{% trans "More details" %}
</a>
)
</small>
<small
class=
"details"
>
(
<a
href=
"
{{ group.get_absolute_url
}}"
>
{% trans "More details" %}
</a>
)
</small>
</div>
<div
class=
"actions"
>
<a
href=
"#"
class=
"delete"
data-id=
"{{group.id}}"
data-name=
"{{group.name}}"
>
<img
src=
"
/static/icons/minus-circle.png
"
alt=
"{% trans "
Delete
"
%}"
title=
"{% trans "
Delete
"
%}"
/>
<img
src=
"
{% static "
icons
/
minus-circle
.
png
"
%}
"
alt=
"{% trans "
Delete
"
%}"
title=
"{% trans "
Delete
"
%}"
/>
</a>
<a
href=
"#"
class=
"hide-group"
data-id=
"{{group.id}}"
>
<img
src=
"
/static/icons/eye-half.png
"
alt=
"{% trans "
Hide
"
%}"
title=
"{% trans "
Hide
"
%}"
/>
<img
src=
"
{% static "
icons
/
eye-half
.
png
"
%}
"
alt=
"{% trans "
Hide
"
%}"
title=
"{% trans "
Hide
"
%}"
/>
</a>
</div>
<div
class=
"clear"
></div>
...
...
@@ -53,7 +54,7 @@
<li>
<span
class=
"value"
>
<a
href=
"
/group/show/{{group.id
}}"
>
{% trans "More details" %}
</a>
<a
href=
"
{{group.get_absolute_url
}}"
>
{% trans "More details" %}
</a>
</span>
</li>
</ul>
...
...
school/templates/box/person/entry.html
View file @
2a3d77a2
{% extends "box/base/entry.html" %}
{% load i18n %}
{% load staticfiles %}
{% get_current_language as LANGUAGE_CODE %}
{% block content %}
...
...
@@ -19,7 +20,7 @@
</div>
<div
class=
"actions"
>
<a
href=
"#"
class=
"remove"
data-gid=
"{{group.id}}"
data-neptun=
"{{member.code}}"
>
<img
src=
"
/static/icons/minus-circle.png
"
alt=
"{% trans 'Remove' %}"
/>
<img
src=
"
{% static "
icons
/
minus-circle
.
png
"
%}
"
alt=
"{% trans 'Remove' %}"
/>
</a>
</div>
<div
class=
"clear"
></div>
...
...
school/templates/show-group.html
View file @
2a3d77a2
{% extends "base.html" %}
{% load i18n %}
{% load staticfiles %}
{% get_current_language as LANGUAGE_CODE %}
{% block content %}
<div
class=
"boxes"
>
...
...
@@ -19,7 +20,7 @@
</div>
<!--<div class="actions">
<a href="#" class="remove" data-gid="{{group.id}}" data-neptun="{{owner.code}}">
<img src="
/static/icons/minus-circle.png
" alt="{% trans 'Remove' %}" />
<img src="
{% static "icons/minus-circle.png" %}
" alt="{% trans 'Remove' %}" />
</a>
</div>-->
<div
class=
"clear"
></div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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