|
23 | 23 | {%- set titlesuffix = "" %} |
24 | 24 | {%- endif %} |
25 | 25 |
|
26 | | -{%- macro githublink() %} |
27 | | -<a href="https://github.com/mongodb/docs/blob/{{theme_branch}}/source/{{pagename}}.txt" target="_blank">Edit this Page</a> |
| 26 | +{%- macro githublink() -%} |
| 27 | +<a href="https://github.com/mongodb/docs/blob/{{theme_branch}}/source/{{pagename}}.txt" target="_blank" title="Edit {{pagename}}.txt on github">Edit this Page</a> |
| 28 | +{%- endmacro -%} |
| 29 | + |
| 30 | +{%- macro jiralink() -%} |
| 31 | +{%- set jirasummary = "Problem with {{pagename}}.txt" -%} |
| 32 | +https://jira.mongodb.org/secure/CreateIssueDetails!init.jspa?pid=10380&issuetype=issuetype100001&summary={{ jirasummary | escape }} |
28 | 33 | {%- endmacro -%} |
29 | 34 |
|
30 | 35 | {%- macro relbar(show_logo=True) %} |
|
37 | 42 | {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a> |
38 | 43 | {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li> |
39 | 44 | {%- endfor #} |
40 | | - <li class="right">| {{ githublink() }} </li> |
| 45 | + <li class="right">| {{- githublink() -}} </li> |
41 | 46 | <li class="right">| <a href="http://github.com/mongodb/docs" title="Fork the documentation on GitHub to contribute.">GitHub</a></li> |
42 | 47 | <li class="right"><a href="http://jira.mongodb.org/browse/DOCS" title="Open a case in Jira to report a problem with the documentation.">Jira</a></li> |
43 | 48 | {%- if show_logo %} |
|
234 | 239 | <div class="search-db"><gcse:searchbox></gcse:searchbox></div> |
235 | 240 | <div id="etp"> |
236 | 241 | <ul> |
237 | | -{#- for rellink in rellinks %} |
238 | | -<li><a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}" |
239 | | -{{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a></li> |
240 | | -{%- endfor #} |
241 | 242 | <li>{{ githublink() }}</li> |
242 | | -<li><a href="http://jira.mongodb.org/browse/DOCS" title="Open a case in Jira to report a problem with the documentation.">Report a problem</a></li> |
| 243 | +<li><a href="http://github.com/mongodb/docs" target="_blank" title="Fork the documentation on GitHub and contribute.">GitHub</a></li> |
| 244 | +<li><a href="{{ jiralink() }}" target="_blank" title="Report a problem with {{pagename|e}}.txt on Jira">Report a problem</a></li> |
243 | 245 | </ul> |
244 | 246 | </div> |
245 | 247 | </div> |
|
0 commit comments