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 @@ @@ -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,11 +17,9 @@
17 <% end %> 17 <% end %>
18 </div> 18 </div>
19 <div id='media-upload-results' class='media-list-results' style='display: none'> 19 <div id='media-upload-results' class='media-list-results' style='display: none'>
  20 + <%= render :partial => 'drag_and_drop_note' %>
20 <ul> 21 <ul>
21 </ul> 22 </ul>
22 - <p>  
23 - <em><%= _('Drag item names to the text to add their URL') %></em>  
24 - </p>  
25 <p><%= link_to(_('Upload more files ...'), '#', :id => 'media-upload-more-files')%></p> 23 <p><%= link_to(_('Upload more files ...'), '#', :id => 'media-upload-more-files')%></p>
26 </div> 24 </div>
27 </div> 25 </div>
@@ -36,11 +34,9 @@ @@ -36,11 +34,9 @@
36 <% end %> 34 <% end %>
37 </p> 35 </p>
38 <div id='media-search-results' class='media-list-results' style='display: none'> 36 <div id='media-search-results' class='media-list-results' style='display: none'>
  37 + <%= render :partial => 'drag_and_drop_note' %>
39 <ul> 38 <ul>
40 </ul> 39 </ul>
41 - <p>  
42 - <em><%= _('Drag item names to the text to add their URL') %></em>  
43 - </p>  
44 </div> 40 </div>
45 </div> 41 </div>
46 </div> 42 </div>