Bug 962643
| Summary: | RFE: Allow access to book formats in product/version templates | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Katie Miller <kamiller> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1 | CC: | aigao, gshipley, jfearn, kamiller, rlandman, thildred |
| Target Milestone: | 3.2 | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 3.2.0 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-09 04:48:38 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
Katie Miller
2013-05-14 06:46:44 UTC
%book_ver_list used to create "/$lang/$product/$version/$book/index.html" contains this data, is it OK to expose this to the other templates? HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED. (In reply to Jeff Fearn from comment #5) > %book_ver_list used to create "/$lang/$product/$version/$book/index.html" > contains this data, is it OK to expose this to the other templates? Yes, this would solve the problem for me. Due to QE effort I limited this to the two templates requested.
To use this in products_index.tmpl
[% FOREACH format = book_ver_list.${product}.${c_book}.${ver}.formats %]<span>[% format %] </span>[%- END %]
To use this in versions_index.tmpl
[% FOREACH format = book_ver_list.${product}.${booker.value.book}.${version}.formats %]<span>[% format %] </span>[%- END %]
To get the real URLs you can copy the logic in books_format_menu.tmpl
To ssh://git.fedorahosted.org/git/publican.git
9a7687a..b525469 HEAD -> devel
Hey Katie, I'm having a hard time figuring out how to verify this bug fix. Do you think you could help by suggesting a way that I can see what Jeff has done meets your requirements? Thanks for any help you can give me. Hi Tim, I will QA this bug; it's not something you can check without changing a brand. (In reply to Tim Hildred from comment #9) > Hey Katie, > > I'm having a hard time figuring out how to verify this bug fix. Do you think > you could help by suggesting a way that I can see what Jeff has done meets > your requirements? > > Thanks for any help you can give me. Tested on 3.1.5-0.fc18.t66. The fix for this bug has been shipped in publican 3.2.0 |