show.html.erb 1.25 KB
<script src="/plugins/mezuro/javascripts/processing.js" type="text/javascript"></script>
<h2><%= link_to("#{@project_content.name} Project", @project_content.view_url) %></h2>

<table>
  <tr>
    <td><%= _('Name') %></td>
    <td><%= @repository.name %></td>
  </tr>
  <tr>
    <td><%= _('Description') %></td>
    <td><%= @repository.description %></td>
  </tr>
  <tr>
    <td><%= _('License') %></td>
    <td><%= @repository.license %></td>
  </tr>
  <tr>
    <td><%= _('Process Period') %></td>
    <td><%= MezuroPlugin::Helpers::ContentViewerHelper.periodicity_option(@repository.process_period.to_i) %></td>
  </tr>
  <tr>
    <td><%= _('Type') %></td>
    <td><%= @repository.type %></td>
  </tr>
  <tr>
    <td><%= _('Address') %></td>
    <td><%= @repository.address %></td>
  </tr>
  <tr>
    <td><%= _('Configuration') %></td>
    <td><%= @configuration_name %></td>
  </tr>
  <tr>
    <td><%= _('Status')%></td>
    <td>
      <div id="processing-state" style="color:DarkGoldenRod">Retrieving</div>
      <div id="msg-time"></div>
    </td>
  </tr>
</table>
<br />

<div id="processing" data-profile="<%= @project_content.profile.identifier %>" data-content="<%= @project_content.id %>"
     data-repository-id="<%= @repository.id %>"></div>
<div id="module-result"></div>