Add link to github on debug log

// FREEBIE
This commit is contained in:
lilia 2016-04-09 20:36:50 -07:00
parent f3de290f7c
commit 1f4587795e
3 changed files with 14 additions and 1 deletions

View File

@ -2,6 +2,10 @@
"debugLogExplanation": {
"message": "This log will be posted publicly online for contributors to view. You may examine and edit it before submitting."
},
"reportIssue": {
"message": "Report an issue",
"description": "Link to open the issue tracker"
},
"gotIt": {
"message": "Got it!",
"description": "Label for a button that dismisses a dialog. The user clicks it to confirm that they understand the message in the dialog."

View File

@ -356,6 +356,12 @@
<input type='text' class='link' readonly value='{{ url }}' />
<a class='open' alt='open in a new browser tab' target='_blank' href='{{ url }}'></a>
</div>
<p>
<a class='report-link' target='_blank'
href='https://github.com/WhisperSystems/Signal-Desktop/issues/new/'>
{{ reportIssue }}
</a>
</p>
</script>
<script type='text/x-tmpl-mustache' id='settings'>
<div class='content'>

View File

@ -11,7 +11,10 @@
this.url = options.url;
},
render_attributes: function() {
return { url: this.url };
return {
url: this.url,
reportIssue: i18n('reportIssue')
};
}
});
Whisper.DebugLogView = Whisper.View.extend({