Commit 4b00dad4467c9a3a8e932d5d56665b27f7ca0ecc
Committed by
Rodrigo Souto
1 parent
8f98bc64
Exists in
staging
Small changes in add media in articles for better comprehension by users
Showing
2 changed files
with
3 additions
and
4 deletions
Show diff stats
app/views/cms/_drag_and_drop_note.html.erb
app/views/cms/_text_editor_sidebar.html.erb
| ... | ... | @@ -17,8 +17,8 @@ |
| 17 | 17 | :parent_id, profile, default_folder, {}, {}, |
| 18 | 18 | "type='Folder' or type='Gallery'" |
| 19 | 19 | ) %> |
| 20 | + <%= button(:newfolder, _('New folder'), '#', :id => 'new-folder-button') %> | |
| 20 | 21 | </div> |
| 21 | - <%= button(:newfolder, _('New folder'), '#', :id => 'new-folder-button') %> | |
| 22 | 22 | <p><%= file_field_tag('file', :multiple => true) %></p> |
| 23 | 23 | <% end %> |
| 24 | 24 | </div> |
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | <div id='published-media' class='text-editor-sidebar-box' data-url='<%= url_for({:controller => 'cms', :action => 'published_media_items', :profile => profile.identifier}) %>'> |
| 32 | 32 | <%= select_profile_folder(nil, :parent_id, profile, 'recent-media', {}, {}, |
| 33 | 33 | "type='Folder' or type='Gallery'", {:root_label => _('Recent media')}) %> |
| 34 | - <%= labelled_form_field _('Search'), text_field_tag('q') %> | |
| 34 | + <%= labelled_form_field _('Search among your uploaded files'), text_field_tag('q', '', placeholder: _('Write words about the file you are looking for')) %> | |
| 35 | 35 | <%= render :partial => 'drag_and_drop_note' %> |
| 36 | 36 | <div class='items'> |
| 37 | 37 | <%= render :partial => 'published_media_items' %> | ... | ... |