Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikdb
Commits
026bb2ae
Commit
026bb2ae
authored
Aug 30, 2013
by
fred
Browse files
edit: move action buttons to the top of the episode page
parent
35b4754b
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikdb/emissions/templates/emissions/episode_detail.html
View file @
026bb2ae
...
...
@@ -7,6 +7,12 @@
{% block content %}
<a
class=
"big-friendly-button"
href=
"edit/"
>
Modifier
</a>
<a
class=
"big-friendly-button"
id=
"add-diffusion-link"
href=
"#"
>
Ajouter une diffusion
</a>
<a
class=
"big-friendly-button"
id=
"add-soundfile-link"
href=
"#"
>
Ajouter un son
</a></p>
{% if episode.description %}
<div
class=
"description"
>
...
...
@@ -18,8 +24,6 @@
{{ episode.text|safe }}
{% endif %}
<a
href=
"edit/"
>
Modifier
</a>
<h3>
Diffusions
</h3>
<ul>
...
...
@@ -30,8 +34,6 @@
{% endfor %}
</ul>
<a
id=
"add-diffusion-link"
href=
"#"
>
Ajouter une diffusion
</a>
<form
id=
"add-diffusion-form"
action=
"add-diffusion"
method=
"POST"
style=
"display: none;"
>
{% csrf_token %}
{{ add_diffusion_form.as_p }}
...
...
@@ -67,8 +69,6 @@
<input
type=
"submit"
value=
"Ajouter ce son"
/>
</form>
<p><a
id=
"add-soundfile-link"
href=
"#"
>
Ajouter un son
</a></p>
{% endblock %}
...
...
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