When on neighborhood level pages like a wiki, the project and neighborhood name are both displayed but they are the same and it looks weird, especially if they run into each other. We should omit one on pages of that type.
It is visible on the default "adobe" neighborhood tools, e.g. the wiki: /adobe/wiki/Home/ However it shows on 2 separate lines, so there is a theme difference going on. I also note that if you don't have an icon set for the neighborhood, it doesn't show the icon+name on the right hand side at all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So the "View More Projects" link is supposed to be under the icon and the nbhd name is supposed to be to the left or something?
I attached a couple of pictures showing how it is now and how I think it was supposed to look. We can still make it look like this -- or we could just lose the title all together for the nbhd icon.
templates/jinja_master/theme_macros.html:136
/* We can just lose this line */
<h1><ahref="{{project.neighborhood.url()}}">{{project.neighborhood.name}}</a></h1>
(trans.png is a bad name -- it's just a picture showing what changed)
Yea that's how I think it should look. (Its similar to how the SF theme does it).
I think having the neighborhood title is good (not just the icon) when you're on one of the projects within the neighborhood. Although long neighborhood titles could run in to long project names sometimes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think its better to have the Neighborhood icon & title on the left, since it's the main header for the page.
If you go to ProjectHomeApp and enable it (set a positive max_instances) then you can install the specialized "Home" tool which lives at the neighborhood url /adobe/ for example, directly. It has a different layout. The left-side header there looks good and can be a model for the other pages within the neighborhood level.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created several neighborhood level pages and projects, but was unable to recreate this.
It is visible on the default "adobe" neighborhood tools, e.g. the wiki: /adobe/wiki/Home/ However it shows on 2 separate lines, so there is a theme difference going on. I also note that if you don't have an icon set for the neighborhood, it doesn't show the icon+name on the right hand side at all.
Ah yes, I see it now. Thanks.
So the "View More Projects" link is supposed to be under the icon and the nbhd name is supposed to be to the left or something?
I attached a couple of pictures showing how it is now and how I think it was supposed to look. We can still make it look like this -- or we could just lose the title all together for the nbhd icon.
templates/jinja_master/theme_macros.html:136
(trans.png is a bad name -- it's just a picture showing what changed)
Last edit: Heith Seewald 2016-01-20
Yea that's how I think it should look. (Its similar to how the SF theme does it).
I think having the neighborhood title is good (not just the icon) when you're on one of the projects within the neighborhood. Although long neighborhood titles could run in to long project names sometimes.
Review at: hs/8046
I also ended up removing the url validation that prevented using relative urls in the project_list_url.
ProjectHomeApp
and enable it (set a positivemax_instances
) then you can install the specialized "Home" tool which lives at the neighborhood url/adobe/
for example, directly. It has a different layout. The left-side header there looks good and can be a model for the other pages within the neighborhood level.I made the changes and force pushed to: hs/8046.
Looking nice and easy :) Just a few little things:
.neighborhood_icon_left
looks like unnecessary rules, since there's no HTML using ittext-align: end
may not be supported in all browsers.right
would be better.Made those changes and force pushed to
hs/8046
.