beef-has_assets 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.7
|
@@ -1,17 +1,17 @@
|
|
1
1
|
<% attached = (controller.action_name == 'attach' or controller.controller_name != 'assets') %>
|
2
2
|
<%= link_to_function truncate(asset.filename,{:length => 50}), "AssetBrowser.openInfo(#{asset.id}, this)" %> - <%= asset.description %>
|
3
3
|
<div>
|
4
|
-
<%= link_to_function "View Info", "AssetBrowser.openInfo(#{asset.id}, this)" %><br/>
|
4
|
+
<%= link_to_function "View Info", "AssetBrowser.openInfo(#{asset.id}, this)", :title => "View and update information for this file." %><br/>
|
5
5
|
|
6
6
|
<% if for_content or attached %>
|
7
|
-
<%= link_to_function "Insert", "addAsset(#{asset.id})" %><br />
|
7
|
+
<%= link_to_function "Insert", "addAsset(#{asset.id})", :title => "Insert a link to this file into the currently active text area on the left." %><br />
|
8
8
|
<% end -%>
|
9
9
|
<br/>
|
10
10
|
<% if for_content %>
|
11
|
-
<%= link_to_function "Attach", "AssetBrowser.addAssetToContentNode(#{asset.to_json}.#{asset.class.name.demodulize.underscore})" %>
|
11
|
+
<%= link_to_function "Attach", "AssetBrowser.addAssetToContentNode(#{asset.to_json}.#{asset.class.name.demodulize.underscore})", :title => "Show this file in the current page's downloads list." %>
|
12
12
|
<% elsif attached %>
|
13
|
-
<%= link_to_function "Detach", "AssetBrowser.removeAssetFromContentNode(#{asset.id})" %>
|
13
|
+
<%= link_to_function "Detach", "AssetBrowser.removeAssetFromContentNode(#{asset.id})", :title => "Remove this file from the current page, still available to other pages." %>
|
14
14
|
<% else %>
|
15
|
-
<%= link_to_function "Delete", "AssetBrowser.assetAction(#{asset.to_json}.#{asset.class.name.demodulize.underscore})" %>
|
15
|
+
<%= link_to_function "Delete", "AssetBrowser.assetAction(#{asset.to_json}.#{asset.class.name.demodulize.underscore})", :title => "Totally delete this file from all pages of the website, not undo-able" %>
|
16
16
|
<% end -%>
|
17
17
|
</div>
|
@@ -2,19 +2,19 @@
|
|
2
2
|
<%= image_tag asset.public_filename(:square) %>
|
3
3
|
<div>
|
4
4
|
<h4><%= truncate(asset.filename,{:length => 50}) %></h4>
|
5
|
-
<%= link_to_function "View Info", "AssetBrowser.openInfo(#{asset.id}, this)" %><br />
|
5
|
+
<%= link_to_function "View Info", "AssetBrowser.openInfo(#{asset.id}, this)", :title => "View and update information for this image." %><br />
|
6
6
|
|
7
7
|
<% if for_content or attached %>
|
8
8
|
<h4>Insert Image</h4>
|
9
|
-
<%= link_to_function "Large", "addAsset(#{asset.id}, 'large' )" %> | <%= link_to_function "Medium ", "addAsset(#{asset.id}, 'medium' )" %> | <%= link_to_function "Small ", "addAsset(#{asset.id}, 'thumb' )" %><br/>
|
9
|
+
<%= link_to_function "Large", "addAsset(#{asset.id}, 'large' )", :title => "Click to insert a large version of this image into the currently active text area on the left." %> | <%= link_to_function "Medium ", "addAsset(#{asset.id}, 'medium' )", :title => "Click to insert a medium version of this image into the currently active text area on the left." %> | <%= link_to_function "Small ", "addAsset(#{asset.id}, 'thumb' )", :title => "Click to insert a small version of this image into the currently active text area on the left." %><br/>
|
10
10
|
<% end -%>
|
11
11
|
<br/>
|
12
12
|
<% if for_content %>
|
13
|
-
<%= link_to_function "Attach", "AssetBrowser.addAssetToContentNode(#{asset.to_json}.#{asset.class.name.demodulize.underscore})" %>
|
13
|
+
<%= link_to_function "Attach", "AssetBrowser.addAssetToContentNode(#{asset.to_json}.#{asset.class.name.demodulize.underscore})", :title => "Show this image in the current page's galley section." %>
|
14
14
|
<% elsif attached %>
|
15
|
-
<%= link_to_function "Detach", "AssetBrowser.removeAssetFromContentNode(#{asset.id})" %>
|
15
|
+
<%= link_to_function "Detach", "AssetBrowser.removeAssetFromContentNode(#{asset.id})", :title => "Remove this image from the current page, still available to other pages." %>
|
16
16
|
<% else %>
|
17
|
-
<%= link_to_function "Delete", "AssetBrowser.assetAction(#{asset.to_json}.#{asset.class.name.demodulize.underscore})" %>
|
17
|
+
<%= link_to_function "Delete", "AssetBrowser.assetAction(#{asset.to_json}.#{asset.class.name.demodulize.underscore})", :title => "Totally delete this image from all pages of the website, not undo-able" %>
|
18
18
|
<% end -%>
|
19
19
|
|
20
20
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<ul class="choices">
|
2
|
-
<li><%= link_to 'Browse folders', by_category_admin_assets_path, :id => 'toggle-grouping', :onclick => 'AssetBrowser.reload("by_category"); return false;' %></li>
|
3
|
-
<li><%= link_to 'Group by file type', by_content_type_admin_assets_path, :id => 'toggle-grouping', :onclick => 'AssetBrowser.reload("by_content_type"); return false;' %></li>
|
2
|
+
<li><%= link_to 'Browse folders', by_category_admin_assets_path, :id => 'toggle-grouping', :onclick => 'AssetBrowser.reload("by_category"); return false;', :title => 'Organise the assets by folder' %></li>
|
3
|
+
<li><%= link_to 'Group by file type', by_content_type_admin_assets_path, :id => 'toggle-grouping', :onclick => 'AssetBrowser.reload("by_content_type"); return false;', :title => 'Organise the assets by file type (by jpegs, gifs, pngs etc)' %></li>
|
4
4
|
</ul>
|
data/beef-has_assets.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beef-has_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 7
|
10
|
+
version: 0.7.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|