зеркало из https://github.com/mozilla/kitsune.git
Link to media upload from gallery pages. [bug 629410]
This commit is contained in:
Родитель
27839242ad
Коммит
5670dc779c
|
@ -20,6 +20,9 @@
|
|||
{% block content %}
|
||||
<article id="media-object" class="main">
|
||||
<h1>{{ media.title|truncate(length=55, killwords=True) }}</h1>
|
||||
{% if user.is_authenticated() %}
|
||||
<a id="btn-upload" class="btn-upload" href="{{ url('gallery.gallery', media_type)|urlparams(hash='upload') }}">{{ _('Upload a New Media File') }}</a>
|
||||
{% endif %}
|
||||
<div id="media-metainfo">
|
||||
<ul id="media-info">
|
||||
{% if media_type =='image' %}
|
||||
|
|
|
@ -191,6 +191,16 @@ a.btn-upload {
|
|||
display: block;
|
||||
}
|
||||
|
||||
#media-object {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#media-object a.btn-upload {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 24px;
|
||||
}
|
||||
|
||||
#media-object div.description {
|
||||
padding: 10px;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче