Skip to content

Commit e131684

Browse files
author
Ed Costello
committed
DOCS-482 add jira collector for feedback
1 parent 15a7a07 commit e131684

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

themes/mongodb/layout.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{%- endfor #}
4444
<li class="right">| {{- githublink() -}} </li>
4545
<li class="right">| <a href="http://github.com/mongodb/docs" title="Fork the documentation on GitHub to contribute.">GitHub</a></li>
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>
46+
<li class="right"><a href="http://jira.mongodb.org/browse/DOCS" title="Open a case in Jira to report problems or make suggestions.">Jira</a></li>
4747
{%- if show_logo %}
4848
<li><p><a href="{{ pathto('index') }}"><img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/></p></li>
4949
{%- endif %}
@@ -240,7 +240,7 @@
240240
<ul>
241241
<li>{{ githublink() }}</li>
242242
<li><a href="http://github.com/mongodb/docs" target="_blank" title="Fork the documentation on GitHub and contribute.">GitHub</a></li>
243-
<li><a id="myCustomTrigger" href="{{ jiralink() }}" target="_blank" title="Report a problem with {{pagename|e}}.txt on Jira">Report a problem</a></li>
243+
<li><a id="jirafeedback" href="{{ jiralink() }}" target="_blank" title="Report a problem or send feedback about {{pagename|e}}.txt on Jira">Feedback</a></li>
244244
</ul>
245245
</div>
246246
</div>
@@ -320,16 +320,13 @@
320320
cache: true,
321321
dataType: "script"
322322
});
323-
324323
window.ATL_JQ_PAGE_PROPS = {
325324
"triggerFunction": function(showCollectorDialog) {
326-
//Requries that jQuery is available!
327-
jQuery("#myCustomTrigger").click(function(e) {
325+
jQuery("#jirafeedback").click(function(e) {
328326
e.preventDefault();
329327
showCollectorDialog();
330328
});
331329
}};
332-
333330
</script>
334331
{%- endblock %}
335332
</body>

0 commit comments

Comments
 (0)