Commits

Antonios E Garnelis committed a166248

Changes to Resources Actions Fancybox

Comments (0)

Files changed (6)

transifex/addons/locks/static/locks/images/icons/lock.png

Old
Old image
New
New image

transifex/addons/locks/static/locks/images/icons/lock_add.png

Old
Old image
New
New image

transifex/addons/locks/static/locks/images/icons/lock_open.png

Old
Old image
New
New image

transifex/templates/resources/resource_actions.html

 {% get_permission "project_perm.maintain" for request.user and resource.project as "is_maintainer" %}
 <div class="actions_popup">
   <div class="first_level title_wrapper">
-    <span class="breadcrumb" >
-      <a href="{% url project_detail project.slug %}">{{project.name|truncate_chars_middle:"40"}}</a> »
-      <a href="{% url resource_detail project.slug resource.slug %}">{{resource.name|truncate_chars_middle:"40"}}</a> »
-      {{ target_language }}
-    </span>
+    
     <span class="favourite_wrapper">
       {% watch_toggle resource target_language %}
     </span>
           </li>
           <li>
             {% if can_submit_translation and resource.accept_translations or is_maintainer %}
-                <div class="upload_action_wrapper" style="padding:0.5em 0">
+                <div class="upload_action_wrapper">
                 {% upload_resource_translation_button request resource target_language %}
                 </div>
             {% endif %}

transifex/templates/resources/resource_detail.html

                 },
                 'titleShow': true,
                 'titlePosition': 'inside',
-                'title': '{% trans "Translation Details"|escapejs %}'
+                'title': '{{ resource.project.name|truncate_chars:"30" }} &raquo; {{ resource.name|truncate_chars:"30" }} &raquo; {{ stat.language.name|truncate_chars:"20" }}'
            });
         });
     </script>

transifex/templates/resources/upload_resource_translation_button.html

   <form id="update_translation_form_element" action='' method='POST' enctype="multipart/form-data">
     {% csrf_token %}
     {{ update_translation_form.target_language }}
-    <span id="upload_button_update" class="i16 send_file buttonized">
-      {% trans "Upload file" %}
+    <span id="upload_button_update" class="i16 send_file linkstyle">
+      <strong>{% trans "Upload file" %}</strong>
     </span>
   </form>
 </div>