-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
group subscription tags with number of subscribers #5224
Changes from 6 commits
aac8f35
fbdb8f6
a595c57
b33bef7
83b647c
e536c80
bf8d12f
8a6eab3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,25 @@ | |
<h4> About this page </h4> | ||
<p> People subscribe to tags so that they can be updated when a research is posted with the tag they are subscribed to. This page shows the number of subscriptions and subscription rates on different tags. </p> | ||
</div> | ||
|
||
<div class="col-md-8 col-md-offset-1"> | ||
<h2>Subscriptions</h2> | ||
</div> | ||
<table class="table inline-grid"> | ||
<tr> | ||
<thead> | ||
<th>Subscriptions</th> | ||
<th>Tags</th> | ||
</thead> | ||
</tr> | ||
<% @tags.each do |range,tags| %> | ||
<tr> | ||
<tbody> | ||
<td><%= range * 10 %> - <%= range * 10 + 9 %></td> | ||
<% tags.each do |tag| %> | ||
<td><%= tag[0]%>:<%=tag[1] %></td> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, aha - yes, so instead of the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great! Actually let's tackle a few more things in a follow-up PR:
and we can do more! This is a great start! |
||
<%end%> | ||
</tbody> | ||
</tr> | ||
<% end %> | ||
</table> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a huge deal, but would you mind using just 2 spaces for indents? We've tried to standardize a bit on this to help keep our code tidier. Thanks, and sorry for the minute details! 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes of course. sorry I switched to a new editor that I'm still finding my way around. I'll fix that.