show.html.erb
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<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>