fix plugins actions; fix public channels CSS

This commit is contained in:
Lee Lawlor 2014-02-18 12:47:54 -05:00
parent 55e133d3ac
commit 7da4d294d9
4 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<div style="width:90%;">
<div>
<% @channels.each do |channel| %>
<% channel.ranking = channel.calc_ranking if channel.ranking.blank? %>

View File

@ -43,7 +43,7 @@
<div class="form-group">
<label class="col-sm-2 control-label"></label>
<div class="col-sm-10"><p class="form-control-static"><%= c.submit t(:plugin_edit), :class => 'btn btn-primary' %></p></div>
<div class="col-sm-10"><p class="form-control-static"><%= c.submit t(:plugin_save), :class => 'btn btn-primary' %></p></div>
</div>
<% end %>

View File

@ -12,8 +12,12 @@
<% @plugins.each do |p| %>
<tr>
<td><%= link_to p.name, plugin_path(p.id) %></td>
<td><%= link_to t(:edit), edit_plugin_path(p.id) %></td>
<td><%= p.name %></td>
<td>
<%= link_to t(:view).downcase, plugin_path(p.id), :target => '_blank' %>
&nbsp;
<%= link_to t(:edit).downcase, edit_plugin_path(p.id) %>
</td>
</tr>
<% end %>

View File

@ -192,11 +192,11 @@ en:
plugin_default_name: "Plugin"
plugin_delete: "Delete Plugin"
plugin_delete_message: "Want to delete this Plugin?"
plugin_edit: "Save Data"
plugin_html: "HTML"
plugin_js: "JavaScript"
plugin_name: "Name"
plugin_permission: "You don't have permission to access this plugin!"
plugin_save: "Save Plugin"
plugins: "Plugins"
plugin_private_flag: "Private?"
profile_bio: "Bio"
@ -401,6 +401,7 @@ en:
user_public_channels: "Public channels for"
userid: "User ID"
video_id: "Video ID"
view: "view"
vimeo: "Vimeo"
watch_channel: "Watch this channel"
watched_channels: "Watched Channels"