Skip to content
Open
6 changes: 5 additions & 1 deletion assets/style/base/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ h6,
}

a {
color: black;
color: black
}

a:hover {
text-decoration: none;
}

@media (max-device-width: 768px),(width <= 768px){
Expand Down
4 changes: 4 additions & 0 deletions assets/style/sections/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ footer * {
text-decoration: none;
}

footer a:hover {
text-decoration: none;
}

.footer-container {
max-width: 1400px;
margin: auto;
Expand Down
106 changes: 43 additions & 63 deletions layouts/_bioc_views_package_detail.html
Original file line number Diff line number Diff line change
@@ -1,70 +1,50 @@
<h1><%=@package[:Package]%></h1>

<div>
<% if @package.has_key? :PackageStatus and @package[:PackageStatus] == "Deprecated" %>

<p>This package is <b>deprecated</b>. It will probably
be removed from Bioconductor. Please refer to
the <a href="http://contributions.bioconductor.org/package-end-of-life-policy.html">
package end-of-life guidelines</a> for more information.
</p>

<table class="package-details">
<% if @package[:biocViews] %>
<tr>
<th>biocViews</th>
<td><%= @package[:biocViews] %></td>
</tr>
<% end %>

<%= get_fragment(@package, @item, @item_rep) %>

<%# package title - not to be confused with page title %>

<h2><%= @package[:Title]%></h2>

<%= render("/components/packages/badges/", :package => @package) %>
<p><br></p>

<div class="package-info">

<p>
<strong>Bioconductor version:</strong> <%= verbose_bioc_version(@package) %>
</p>
<p>
<%= @package[:Description] %>
</p>
<p>
<strong>Author:</strong> <%= filter_emails(@package[:Author])%>
</p>
<p>
<strong>Maintainer:</strong> <%= filter_emails(@package[:Maintainer])%>
</p>

<!-- Package-specific citation (loaded from citations directory) -->
<% if @package[:Version] %>
<tr>
<th>Version</th>
<td><%= @package[:Version] %></td>
</tr>
<% end %>

<div id="bioc-citation-outer" data-package="<%=@package[:Package]%>">
<strong>Citation (from within R, enter <code>citation("<%=@package[:Package]%>")</code>):</strong>
<div id="bioc-citation" class="bioc-citation"></div>
</div>
<div class="bioc-project-citations">
<strong>Seminal Bioconductor project articles:</strong>
<div class="bioc-citation">
<p><strong>Huber W</strong>, Carey VJ, Gentleman R, Anders S, Carlson M, Carvalho BS,
Bravo HC, Davis S, Gatto L, Girke T, Gottardo R, Hahne F, Hansen KD, Irizarry RA,
Lawrence M, Love MI, MacDonald J, Obenchain V, Oleś AK, Pagès H, Reyes A, Shannon P,
Smyth GK, Tenenbaum D, Waldron L, Morgan M (2015). "Orchestrating high-throughput
genomic analysis with Bioconductor." <em>Nature Methods</em>, <strong>12</strong>(2),
115–121. doi:<a href="https://doi.org/10.1038/nmeth.3252">10.1038/nmeth.3252</a>.</p>
<p><strong>Gentleman RC</strong>, Carey VJ, Bates DM, Bolstad B, Dettling M, Dudoit S,
Ellis B, Gautier L, Ge Y, Gentry J, Hornik K, Hothorn T, Huber W, Iacus S, Irizarry R,
Leisch F, Li C, Maechler M, Rossini AJ, Sawitzki G, Smith C, Smyth G, Tierney L, Yang JYH,
Zhang J (2004). "Bioconductor: open software development for computational biology and
bioinformatics." <em>Genome Biology</em>, <strong>5</strong>(10), R80.
doi:<a href="https://doi.org/10.1186/gb-2004-5-10-r80">10.1186/gb-2004-5-10-r80</a>.</p>
</div>
</div>
</div>
<% if @package[:Date] %>
<tr>
<th>Date</th>
<td><%= @package[:Date] %></td>
</tr>
<% end %>

<% if @package[:"In Bioconductor since"] %>
<tr>
<th>In Bioconductor since</th>
<td><%= @package[:"In Bioconductor since"] %></td>
</tr>
<% end %>

<% if @package[:License] %>
<tr>
<th>License</th>
<td><%= @package[:License] %></td>
</tr>
<% end %>

<%= render("/components/packages/installation/", :package => @package) %>
<%= render("/components/packages/documentation/", :package => @package) %>
<%= render("/components/packages/details/", :package => @package) %>
<%= render("/components/packages/archives/", :package => @package) %>
</div>
<% if @package[:URL] %>
<tr>
<th>URL</th>
<td><%= @package[:URL] %></td>
</tr>
<% end %>

<% if @package[:BugReports] %>
<tr>
<th>BugReports</th>
<td><%= @package[:BugReports] %></td>
</tr>
<% end %>
</table>
2 changes: 1 addition & 1 deletion lib/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def top_events(events)
end
toplist = sorted[-5..-1]
toplist.reverse
end
end

def event_date(e)
if (e[:start].month == e[:end].month)
Expand Down