Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apis_authorization/client/list/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template name="apiAuthorizedUsersList">
<h3>
{{_ 'apiAuthorizedUsersList_ header_text' }}
<span class="helptext">{{> showHelp 'api_settings_visibility_authorizedUsers' }}</span>
</h3>

<ul class="list-group">
Expand Down
6 changes: 6 additions & 0 deletions apis_authorization/client/list/list.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.helptext {
float: right;
position: relative;
top: -0.4em;
right: 59em;
}
12 changes: 11 additions & 1 deletion core/client/form_hints/form_hints.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { TAPi18n } from 'meteor/tap:i18n';
import { InlineHelp } from 'meteor/pahans:inline-help';


// Initialize help texts
const formHints = {
documentation_link: {
Expand Down Expand Up @@ -29,7 +33,13 @@ const formHints = {
options: {
placement: 'left',
},
}
},
api_settings_visibility_authorizedUsers: {
message: TAPi18n.__('api_settings_visibility_authorizedUsers'),
options: {
placement: 'left',
},
},
};

InlineHelp.initHelp(formHints);
1 change: 1 addition & 0 deletions core/lib/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"apiSettings_visibilityPanel_title": "Visibility",
"apiSettings_visibility_heading": "Change API visibility",
"apiSettings_visibility_text": "Make this API private or public",
"api_settings_visibility_authorizedUsers": "Give single users permissions to view API even when API is globally marked Private.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename api_settings to apiSettings as above

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"api_backend_rating_anonymous": "Please log in to vote.",
"apinf_usernotloggedin_error": "Could not find logged in user.",
"apiMonitoring_panelTitle_Monitoring": "API Monitoring",
Expand Down