<% # Copyright (C) 2011 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %> <% provide :page_title do %><%= t :page_title, "Canvas Plugins" %><% end %> <% add_crumb t('#crumbs.plugins', "Plugins") %> Revision: <%= Canvas.revision || t('#canvas_revision_unknown', "Unknown") %>

<%= t :page_title, "Canvas Plugins" %>

<% if @plugins.any? %> <% @plugins.each do |plugin| %> <% end %>
<%= t :name, "Name" %> <%= t :description, "Description" %> <%= t :tag, "Tag" %> <%= t :website, "Website" %> <%= t :author, "Author" %> <%= t :version, "Version" %>  
<% if plugin.has_settings_partial? %> <%= h plugin.name %> <% else %> <%= h plugin.name %> <% end %> <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> <%= h plugin.tag %> <% if plugin.website.present? %> <% end %> <%= plugin.author_website.blank? ? h(plugin.author) : link_to(h(plugin.author), plugin.author_website) %> <%= h plugin.version %> <%= link_to("", plugin_path(plugin.id), :class => "Button Button--small icon-settings") if plugin.has_settings_partial? %>
<% else %>

<%= t :no_plugins, "There are no Canvas plugins installed" %>

<% end %>