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

Replace header on all pages with a partial. #38

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 5 comments
Closed

Replace header on all pages with a partial. #38

GoogleCodeExporter opened this issue Mar 24, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Right now, the header for the content needs to be manually added (page name, 
logout button, etc.)

A partial for this header that contains the page name, current user logged in, 
and logout button needs to be created.

Original issue reported on code.google.com by liu.al...@gmail.com on 12 May 2011 at 11:15

@GoogleCodeExporter
Copy link
Author

Put it in application.haml (just html for the banner), not a partial

Original comment by donovanh...@gmail.com on 12 May 2011 at 11:34

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Issue 26 has been merged into this issue.

Original comment by donovanh...@gmail.com on 13 May 2011 at 1:52

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by donovanh...@gmail.com on 13 May 2011 at 1:53

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I moved ruby code for header to a partial (because haml should be mostly only 
layout, logic should be in the view). Everything else (header and footer div) 
are in application.haml.

Original comment by liu.al...@gmail.com on 13 May 2011 at 10:23

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

I added some logic to the header, so it shows the user name and location 
correctly.

Original comment by donovanh...@gmail.com on 14 May 2011 at 12:57

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****

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

No branches or pull requests

1 participant