fix plugins actions; fix public channels CSS
This commit is contained in:
parent
55e133d3ac
commit
7da4d294d9
@ -1,4 +1,4 @@
|
||||
<div style="width:90%;">
|
||||
<div>
|
||||
<% @channels.each do |channel| %>
|
||||
|
||||
<% channel.ranking = channel.calc_ranking if channel.ranking.blank? %>
|
||||
|
@ -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 %>
|
||||
|
@ -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' %>
|
||||
|
||||
<%= link_to t(:edit).downcase, edit_plugin_path(p.id) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user