Bug 972890
Summary: | Allow styles and scripts to be injected into every community page by an admin | ||
---|---|---|---|
Product: | OKD | Reporter: | Clayton Coleman <ccoleman> |
Component: | Website | Assignee: | Clayton Coleman <ccoleman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | yujzhang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-24 14:46:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Clayton Coleman
2013-06-10 18:25:56 UTC
This change adds a new block (you will have to create it manually in a devenv based on the latest devdump) that will be shown on every page. Go to "Blocks -> Add Block", create and save it, verify that it has the ID "8". Go back and edit again, set input type to raw html, then add HTML to that section. Save the block, go to the homepage. The raw html in the block should be displayed in the section at the top of the page. In addition, this pull request adds support for displaying the <meta description> for search engine support based on the site_mission variable. To test, go to "Site Information" and set the site mission statement. The homepage should have a <meta name="description" content="...."> value set based on the mission statement. Other pages should not have this value. Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/027a03b4983f9452dc7d3824c050b8b58e6ffdae Bug 972890 - Allow homepage to have a meta description (site_mission) and inject content onto every page Allows us to easily bring css, markup, and javascript into the pgae if necessary. Tested above steps on devenv_3355, the block and meta content can be added to home page successfully,so verify this bug, thanks. |