Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

resolved issue #1 : fixed sidebar inconsistencies #21

wants to merge 1 commit into from

Conversation

mxayon
Copy link

@mxayon mxayon commented Sep 2, 2016

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">

@melicarls
Copy link

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

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?

Copy link
Author

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!

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants