Skip to content

Commit

Permalink
Dividing the tags page to make it two-column and add graph in second …
Browse files Browse the repository at this point in the history
…column (publiclab#5100)

* Dividing the tags page to make it two-column

* add stats graph in second column
  • Loading branch information
CleverFool77 authored and jywarren committed Mar 19, 2019
1 parent b0c7dce commit ec77285
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/views/tag/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= javascript_include_tag('async_tag_subscriptions.js') %>
<div class="col-md-12">
<div class="col-md-6">
<h1 style="font-family:Junction Light;"><%= t('tag.index.popular_tags') %></h1>

<% cache('feature_tags-header', skip_digest: true) do %>
Expand Down Expand Up @@ -53,7 +53,10 @@

<hr />

</div>

<div class="text-center"> <%= will_paginate @tags, :renderer => BootstrapPagination::Rails if @paginated %></div>
</div>

<div class="col-md-6">
<br><br>
<iframe src="stats/graph.html?limit=50" height="500" width="100%" frameborder="0" ></iframe>
</div>

0 comments on commit ec77285

Please sign in to comment.