aboutsummaryrefslogtreecommitdiff
blob: a9eb2aa8e17dd0eef1b45657c95ccff4e4321f81 (plain)
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
<div id="outdated_gems">
	<h3>Outdated Gems</h3>
</div>

<form class="pull-right">
	<input type="checkbox" onclick="$('td:contains(\'+amd64\')').parent().toggle();" checked> amd64
	<input type="checkbox" onclick="$('td:contains(\'+~amd64\')').parent().toggle();" checked> ~amd64
</form>

<table id="sortable" class="table table-bordered table-condensed">
	<thead>
		<tr>
			<th>Package</th>
			<th>Gentoo Version</th>
			<th>RubyGem Version</th>
		</tr>
	</thead>
	<%packages.each do |package|%>
	<%if package[:gem_version] > package[:version]%>
	<tr>
		<td class="width-52">
			<%=package[:identifier]%>
		</td>
		<td class="width-24 success"><%=package[:version]%></td>
		<td class="width-24 danger"><a href="//rubygems.org/gems/<%=package[:name]%>"><%=package[:gem_version]%></a></td>
		<td style="display:none;">
			+<%=package[:amd64_keyword]%>
		</td>
	</tr>
	<%end%>
	<%end%>
</table>