Commit 4999c5de9a69e8a5a1d0a6244ffc6964daf0ba85

Authored by Antonio Terceiro
1 parent e961c21f

Better text for the drag & drop note

app/views/cms/_drag_and_drop_note.rhtml 0 → 100644
... ... @@ -0,0 +1,4 @@
  1 +<p>
  2 +<em><%= _('Drag images to add them to the text.') unless @article.is_a?(TextileArticle) %>
  3 +<%= _('Drag item names to the text to add links.') %></em>
  4 +</p>
... ...
app/views/cms/_text_editor_sidebar.rhtml
... ... @@ -17,11 +17,9 @@
17 17 <% end %>
18 18 </div>
19 19 <div id='media-upload-results' class='media-list-results' style='display: none'>
  20 + <%= render :partial => 'drag_and_drop_note' %>
20 21 <ul>
21 22 </ul>
22   - <p>
23   - <em><%= _('Drag item names to the text to add their URL') %></em>
24   - </p>
25 23 <p><%= link_to(_('Upload more files ...'), '#', :id => 'media-upload-more-files')%></p>
26 24 </div>
27 25 </div>
... ... @@ -36,11 +34,9 @@
36 34 <% end %>
37 35 </p>
38 36 <div id='media-search-results' class='media-list-results' style='display: none'>
  37 + <%= render :partial => 'drag_and_drop_note' %>
39 38 <ul>
40 39 </ul>
41   - <p>
42   - <em><%= _('Drag item names to the text to add their URL') %></em>
43   - </p>
44 40 </div>
45 41 </div>
46 42 </div>
... ...