-
Notifications
You must be signed in to change notification settings - Fork 11
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
resolved issue #1 : fixed sidebar inconsistencies #21
base: master
Are you sure you want to change the base?
Conversation
Clean up the formatting in your comment a bit. I'm seeing a bunch of colons and a dash where there shouldn't be one. |
@@ -17,7 +17,7 @@ def index | |||
@statsdrafts = Article.drafts.where('created_at > ?', today).count | |||
@statspages = Page.where('published_at > ?', today).count | |||
@statuses = Note.where('published_at > ?', today).count | |||
@statuserposts = Article.published.where('published_at > ?', today).count(conditions: { user_id: current_user.id }) | |||
@statuserposts = current_user.articles.published.where('published_at > ?', today).count |
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.
How does this change relate to the sidebar styling issue?
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.
this was to troubleshoot admin error - couldn't load admin page earlier.. should've done this on separate branch!
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.
Can you push up another commit that reverts the changes?
fixes issue #1 - Inconsistent Sidebar Styles -
changed div and h3 class "sidebar_title / sidebar_body" to match css file class "sidebar-title / sidebar-body"
in file : lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb
<h3 class="sidebar_title"> to -> <h3 class="sidebar-title">
and
<div class="sidebar_body"> to -> <div class="sidebar-body">