From: Jef van Schendel Date: Thu, 5 Jan 2012 20:42:56 +0000 (+0100) Subject: Fix merge conflicts X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d2fce291b535ab5f36c8cc6e4bd9648373e39ef8;p=mediagoblin.git Fix merge conflicts --- d2fce291b535ab5f36c8cc6e4bd9648373e39ef8 diff --cc mediagoblin/static/css/base.css index 76e37c1b,e89ce8a2..f4359791 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@@ -192,13 -230,13 +230,21 @@@ text-align: center float: right; } +textarea#comment_content { + resize: vertical; + width: 634px; + height: 90px; + border: none; + background-color: #f1f1f1; + padding: 3px; ++ + .clear { + clear: both; + display: block; + overflow: hidden; + visibility: hidden; + width: 0; + height: 0; } /* forms */ diff --cc mediagoblin/templates/mediagoblin/auth/change_fp.html index e8e64023,9c8c79bf..d95516e8 --- a/mediagoblin/templates/mediagoblin/auth/change_fp.html +++ b/mediagoblin/templates/mediagoblin/auth/change_fp.html @@@ -19,13 -19,7 +19,12 @@@ {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} +{% block mediagoblin_head %} + +{% endblock mediagoblin_head %} + {% block mediagoblin_content %} -
{{ csrf_token }} diff --cc mediagoblin/templates/mediagoblin/edit/attachments.html index 06062cd3,ff357a8c..bd972b2a --- a/mediagoblin/templates/mediagoblin/edit/attachments.html +++ b/mediagoblin/templates/mediagoblin/edit/attachments.html @@@ -20,10 -20,10 +20,10 @@@ {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} {% block mediagoblin_content %} -
+

Editing attachments for {{ media.title }}

-
+

{% trans media_title=media.title %}Editing {{ media_title }}{% endtrans %}

- - {% else %} -
- {% endif %} -
- {% autoescape False %} - {{ comment.content_html }} - {% endautoescape %} - - - {{ comment_author.username }} - - {% trans %}at{% endtrans %} - - {{ comment.created.strftime("%I:%M%p %Y-%m-%d") }} - -
-
- {% endfor %} - {{ render_pagination(request, pagination, - request.urlgen('mediagoblin.user_pages.media_home', - user = media.get_uploader().username, - media = media._id)) }} + {% for comment in comments %} + {% set comment_author = comment.get_author %} + {% if pagination.active_id == comment._id %} +
+ + {% else %} +
+ {% endif %} +
+ {% autoescape False %} + {{ comment.content_html }} + {% endautoescape %} + + + {{ comment_author.username }} + + {% trans %}at{% endtrans %} + + {{ comment.created.strftime("%I:%M%p %Y-%m-%d") }} + +
+
+ {% endfor %} + {{ render_pagination(request, pagination, + media.url_for_self(request.urlgen)) }} {% endif %}
-
+
{% trans user_url=request.urlgen( 'mediagoblin.user_pages.user_home', - user=media.get_uploader().username), - username=media.get_uploader().username -%} + user=media.get_uploader.username), + username=media.get_uploader.username -%}

❖ Browsing media by {{ username }}

{%- endtrans %} {% include "mediagoblin/utils/prev_next.html" %} diff --cc mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html index 408bca05,8e0f2904..dcb148e0 --- a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html @@@ -22,10 -22,10 +22,10 @@@ {% block mediagoblin_content %} -
+

{%- trans title=media.title -%} Really delete {{ title }}? diff --cc mediagoblin/templates/mediagoblin/user_pages/user.html index a50849b0,8a1d3a76..c8eb9026 --- a/mediagoblin/templates/mediagoblin/user_pages/user.html +++ b/mediagoblin/templates/mediagoblin/user_pages/user.html @@@ -90,8 -90,8 +90,8 @@@

{% if not user.url and not user.bio %} - {% if request.user._id == user._id %} + {% if request.user and (request.user._id == user._id) %} -
+

{% trans %}Here's a spot to tell others about yourself.{% endtrans %}

@@@ -100,19 -100,20 +100,19 @@@ class="button_action"> {%- trans %}Edit profile{% endtrans -%} -
{% else %} -
+

{% trans -%} This user hasn't filled in their profile (yet). {%- endtrans %}

-
{% endif %} {% else %} -
+
{% include "mediagoblin/utils/profile.html" %} - {% if request.user._id == user._id or request.user.is_admin %} + {% if request.user and + (request.user._id == user._id or request.user.is_admin) %} {%- trans %}Edit profile{% endtrans -%}