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

Adding learn more links to primary and secondary pages. #998

Merged
merged 1 commit into from
Dec 7, 2016

Conversation

sg00dwin
Copy link
Member

@sg00dwin sg00dwin commented Dec 7, 2016

Fixes #946

Moved .page-header styles, along with several other misc rules, from _core.less to _typeography.less

Also fixes openshift/origin#7664

@sg00dwin
Copy link
Member Author

sg00dwin commented Dec 7, 2016

@jwforres PTAL

@spadgett
Copy link
Member

spadgett commented Dec 7, 2016

We've switch to "Learn More" with an uppercase M

@@ -10,7 +10,13 @@
<div class="pull-right" ng-if="project && ('configmaps' | canI : 'create')">
<a ng-href="project/{{project.metadata.name}}/create-config-map" class="btn btn-default">Create Config Map</a>
</div>
<h1>Config Maps</h1>
<h1>Config Maps
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting nit: When there are other elements inside the header, I find it much easier to read if the header text is on the next line...

<h1>
  Config Maps
  <span>...</span>
</h1>

<h1>Config Maps
<span class="page-header-link">
<a ng-href="{{'config-maps' | helpLink}}" target="_blank">
Learn more <i class="fa fa-external-link" aria-hidden="true"></i>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should use a non-breaking space between the text and icon so that the icon doesn't ever wrap by itself. It could break on some longer headers at mobile.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set the wrapping span to whitespace: no-wrap and inline-block so it wouldn't wrap separately.

@sg00dwin sg00dwin force-pushed the learn-more-issue946 branch 2 times, most recently from 5801832 to 01d3fdf Compare December 7, 2016 18:46
@spadgett
Copy link
Member

spadgett commented Dec 7, 2016

[merge]

@sg00dwin
Copy link
Member Author

sg00dwin commented Dec 7, 2016

@spadgett updated based on your feedback.

@spadgett
Copy link
Member

spadgett commented Dec 7, 2016

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 022f3ee

@openshift-bot
Copy link

openshift-bot commented Dec 7, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/823/) (Base Commit: c9b7feb)

@openshift-bot openshift-bot merged commit e28544e into openshift:master Dec 7, 2016
@sg00dwin sg00dwin deleted the learn-more-issue946 branch December 8, 2016 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants