style share modal
This commit is contained in:
@@ -899,7 +899,7 @@ define([
|
||||
delete friends[curve];
|
||||
});
|
||||
|
||||
var friendsList = UIElements.getUserGrid(Messages.share_linkFriends, {
|
||||
var friendsList = UIElements.getUserGrid(null, {
|
||||
common: common,
|
||||
data: friends,
|
||||
noFilter: false
|
||||
@@ -1038,17 +1038,16 @@ define([
|
||||
var parsed = Hash.parsePadUrl(pathname);
|
||||
var canPresent = ['code', 'slide'].indexOf(parsed.type) !== -1;
|
||||
|
||||
var rights = h('div.msg', [
|
||||
var rights = h('div.msg.access-rights', [
|
||||
h('label', Messages.share_linkAccess),
|
||||
h('br'),
|
||||
h('div.radio-group',[
|
||||
UI.createRadio('accessRights', 'cp-share-editable-false',
|
||||
Messages.share_linkView, true, { mark: {tabindex:1} }),
|
||||
canPresent ? UI.createRadio('accessRights', 'cp-share-present',
|
||||
Messages.share_linkPresent, false, { mark: {tabindex:1} }) : undefined,
|
||||
UI.createRadio('accessRights', 'cp-share-editable-true',
|
||||
Messages.share_linkEdit, false, { mark: {tabindex:1} }),
|
||||
|
||||
h('br'),
|
||||
Messages.share_linkEdit, false, { mark: {tabindex:1} })])
|
||||
]);
|
||||
|
||||
|
||||
@@ -1203,12 +1202,15 @@ define([
|
||||
// Create modal
|
||||
var tabs = [{
|
||||
title: Messages.share_linkCategory,
|
||||
icon: "fa-link",
|
||||
content: frameLink
|
||||
}, {
|
||||
title: Messages.share_contactCategory,
|
||||
icon: "fa-address-book",
|
||||
content: frameContacts
|
||||
}, {
|
||||
title: Messages.share_embedCategory,
|
||||
icon: "fa-code",
|
||||
content: frameEmbed
|
||||
}];
|
||||
if (typeof(AppConfig.customizeShareOptions) === 'function') {
|
||||
|
||||
@@ -984,11 +984,11 @@
|
||||
"share_linkEdit": "Edit",
|
||||
"share_linkView": "View",
|
||||
"share_linkEmbed": "Embed mode (hide toolbar and user list)",
|
||||
"share_linkPresent": "Present (hide editable sections)",
|
||||
"share_linkOpen": "Open in new tab",
|
||||
"share_linkCopy": "Copy to clipboard",
|
||||
"share_linkPresent": "Present",
|
||||
"share_linkOpen": "Preview",
|
||||
"share_linkCopy": "Copy",
|
||||
"share_contactCategory": "Contacts",
|
||||
"share_noContacts": "You have no friends, learn how to get some. // XXX",
|
||||
"share_noContacts": "You do not have any contacts yet. // XXX",
|
||||
"share_embedCategory": "Embed",
|
||||
"share_mediatagCopy": "Copy mediatag to clipboard",
|
||||
"loading_pad_1": "Initializing pad",
|
||||
|
||||
Reference in New Issue
Block a user