|
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 | +https://jira.mongodb.org/secure/CreateIssueDetails!init.jspa?pid=10380&issuetype=4&priority=4&summary=Comment+on%3a+%22{{ pagename | escape }}%2Etxt%22 |
28 | 32 | {%- endmacro -%}
|
29 | 33 |
|
30 | 34 | {%- macro relbar(show_logo=True) %}
|
|
37 | 41 | {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
|
38 | 42 | {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
|
39 | 43 | {%- endfor #}
|
40 |
| - <li class="right">| {{ githublink() }} </li> |
| 44 | + <li class="right">| {{- githublink() -}} </li> |
41 | 45 | <li class="right">| <a href="http://github.com/mongodb/docs" title="Fork the documentation on GitHub to contribute.">GitHub</a></li>
|
42 | 46 | <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 | 47 | {%- if show_logo %}
|
|
225 | 229 | </ul>
|
226 | 230 | </div>
|
227 | 231 | </div>
|
228 |
| -<div class="search-db"><gcse:searchbox></gcse:searchbox></div> |
229 | 232 | <div id="header-db" class="spread">
|
230 | 233 | <div class="split">
|
231 | 234 | <div id="logo">
|
232 | 235 | <div><a href="http://docs.mongodb.org/"><img src="{{ pathto('_static', 1) }}/logo-mongodb.png" width="190" height="55" alt="mongoDB" /></a></div>
|
233 | 236 | </div>
|
234 | 237 | </div>
|
235 |
| -{%- block relbar1 %}{{ relbar(false) }}{% endblock %} |
| 238 | +<div class="search-db"><gcse:searchbox></gcse:searchbox></div> |
| 239 | +<div id="etp"> |
| 240 | +<ul> |
| 241 | +<li>{{ githublink() }}</li> |
| 242 | +<li><a href="http://github.com/mongodb/docs" target="_blank" title="Fork the documentation on GitHub and contribute.">GitHub</a></li> |
| 243 | +<li><a href="{{ jiralink() }}" target="_blank" title="Report a problem with {{pagename|e}}.txt on Jira">Report a problem</a></li> |
| 244 | +</ul> |
| 245 | +</div> |
236 | 246 | </div>
|
237 | 247 | {%- endblock %}
|
238 | 248 | {%- block content %}
|
|
0 commit comments