Skip to content
Snippets Groups Projects
Commit f6e31714 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Setting: Layout Sidenav Footer

parent 87f841a5
No related branches found
No related tags found
No related merge requests found
......@@ -230,6 +230,10 @@ blockquote {
fieldset {
display: block;
margin-bottom: 40px;
small {
font-size: 11px;
}
}
.submit {
margin-top: 20px;
......
......@@ -25,6 +25,9 @@
{{else}}
<input type="text" name="{{_id}}" value="{{value}}" />
{{/if}}
{{#if description}}
<small>{{description}}</small>
{{/if}}
</div>
</div>
{{/if}}
......@@ -35,6 +38,9 @@
<label><input type="radio" name="{{_id}}" value="1" checked="{{$eq value true}}" /> {{_ "True"}}</label>
<label><input type="radio" name="{{_id}}" value="0" checked="{{$eq value false}}" /> {{_ "False"}}</label>
</div>
{{#if description}}
<small>{{description}}</small>
{{/if}}
</div>
{{/if}}
{{/each}}
......
......@@ -5,6 +5,8 @@ Template.sideNav.helpers
return SideNav.getFlex().template
flexData: ->
return SideNav.getFlex().data
footer: ->
return RocketChat.settings.get 'Layout_Sidenav_Footer'
Template.sideNav.events
'click .close-flex': ->
......
......@@ -28,10 +28,7 @@
<span class="arrow bottom"></span>
{{/if}}
<footer class="footer">
<a href="https://github.com/RocketChat/Rocket.Chat" class="logo" target="_blank">
<img src="/images/logo/logo.svg?v=3" />
<small><i class="icon-github-circled"></i> {{_ "Fork_it_on_github"}}</small>
</a>
{{{footer}}}
</footer>
</aside>
</template>
......@@ -111,6 +111,8 @@
"Last_message" : "Last message",
"Layout_Home_Body": "Home Body",
"Layout_Home_Title": "Home Title",
"Layout_Sidenav_Footer": "Side Navigation Footer",
"Layout_Sidenav_Footer_description": "Footer size is 260x70",
"Leave_room" : "Leave room",
"line" : "line",
"Load_more" : "Load more",
......
......@@ -70,6 +70,7 @@ Meteor.startup ->
RocketChat.settings.add 'Layout_Home_Body', 'Welcome to Rocket.Chat <br> Go to APP SETTINGS -> Layout to customize this intro.', { type: 'string', multiline: true, group: 'Layout', public: true }
RocketChat.settings.add 'Layout_Terms_of_Service', 'Terms of Service <br> Go to APP SETTINGS -> Layout to customize this page.', { type: 'string', multiline: true, group: 'Layout', public: true }
RocketChat.settings.add 'Layout_Privacy_Policy', 'Privacy Policy <br> Go to APP SETTINGS -> Layout to customize this page.', { type: 'string', multiline: true, group: 'Layout', public: true }
RocketChat.settings.add 'Layout_Sidenav_Footer', '<a href="https://github.com/RocketChat/Rocket.Chat" class="logo" target="_blank"> <img src="/images/logo/logo.svg?v=3" /> <small><i class="icon-github-circled"></i> {{_ "Fork_it_on_github"}}</small> </a>', { type: 'string', group: 'Layout', public: true, i18nDescription: 'Layout_Sidenav_Footer_description' }
if process?.env? and not process.env['MAIL_URL']? and RocketChat.settings.get('SMTP_Host') and RocketChat.settings.get('SMTP_Username') and RocketChat.settings.get('SMTP_Password')
process.env['MAIL_URL'] = "smtp://" + encodeURIComponent(RocketChat.settings.get('SMTP_Username')) + ':' + encodeURIComponent(RocketChat.settings.get('SMTP_Password')) + '@' + encodeURIComponent(RocketChat.settings.get('SMTP_Host'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment