Browse Source

Font size adjustment and moving link to config param

master
yanas 8 years ago
parent
commit
d84901f196
3 changed files with 16 additions and 4 deletions
  1. 9
    0
      css/components/_link.scss
  2. 3
    1
      interface_config.js
  3. 4
    3
      modules/UI/recording/Recording.js

+ 9
- 0
css/components/_link.scss View File

8
         text-decoration: underline;
8
         text-decoration: underline;
9
         @include transition(color .1s ease-in);
9
         @include transition(color .1s ease-in);
10
     }
10
     }
11
+}
12
+
13
+/**
14
+ * Helper links are links that are meant to open a documentation page or more
15
+ * detailed info.
16
+ */
17
+.helper-link {
18
+    @extend .link;
19
+    font-size: 12px;
11
 }
20
 }

+ 3
- 1
interface_config.js View File

70
     AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
70
     AUDIO_LEVEL_SECONDARY_COLOR: "rgba(255,255,255,0.2)",
71
     POLICY_LOGO: null,
71
     POLICY_LOGO: null,
72
     LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
72
     LOCAL_THUMBNAIL_RATIO: 16/9, //16:9
73
-    REMOTE_THUMBNAIL_RATIO: 1 //1:1
73
+    REMOTE_THUMBNAIL_RATIO: 1, //1:1
74
+    // Documentation reference for the live streaming feature.
75
+    LIVE_STREAMING_HELP_LINK: "https://jitsi.org/live"
74
 };
76
 };

+ 4
- 3
modules/UI/recording/Recording.js View File

64
                     name="streamId" type="text"
64
                     name="streamId" type="text"
65
                     data-i18n="[placeholder]dialog.streamKey"
65
                     data-i18n="[placeholder]dialog.streamKey"
66
                     autofocus><div style="text-align: right">
66
                     autofocus><div style="text-align: right">
67
-                    <a class="link" target="_new" 
68
-                    href="https://jitsi.org/live">`+streamIdHelp+
69
-                    `</a></div>`,
67
+                    <a class="helper-link" target="_new" 
68
+                    href="${interfaceConfig.LIVE_STREAMING_HELP_LINK}">`
69
+                        + streamIdHelp
70
+                        + `</a></div>`,
70
                 persistent: false,
71
                 persistent: false,
71
                 buttons: [
72
                 buttons: [
72
                     {title: cancelButton, value: false},
73
                     {title: cancelButton, value: false},

Loading…
Cancel
Save