-
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
Merged
jywarren
merged 8 commits into
publiclab:master
from
GettyOrawo:classify-tags-with-subscriber-numbers
Mar 25, 2019
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
aac8f35
group tags with number of subscribers
GettyOrawo fbdb8f6
cleanup
GettyOrawo a595c57
fix codeclimate errors
GettyOrawo b33bef7
refactoring the subscriber count range and stats display
GettyOrawo 83b647c
Merge branch 'master' of https://github.com/publiclab/plots2 into cla…
GettyOrawo e536c80
fix codeclimate failing lint test
GettyOrawo bf8d12f
fix indent on stats view
GettyOrawo 8a6eab3
Merge branch 'classify-tags-with-subscriber-numbers' of https://githu…
GettyOrawo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,33 @@ | ||
<div class="col-md-3"> | ||
<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> | ||
<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> | ||
<h2>Subscriptions</h2> | ||
<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> | ||
<td> | ||
<% tags.each do |tag| %> | ||
<p> | ||
<%= tag[0]%>: | ||
<%=tag[1] %> | ||
</p> | ||
<%end%> | ||
</td> | ||
</tbody> | ||
</tr> | ||
<% end %> | ||
</table> | ||
</div> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.