Skip to content
Snippets Groups Projects
Commit edac1b02 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix title of custom oauth in admin

parent 4413e968
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,12 @@ Template.admin.helpers ...@@ -74,6 +74,12 @@ Template.admin.helpers
return TempSettings.find(query).count() > 0 return TempSettings.find(query).count() > 0
translateSection: (section) ->
if section.indexOf(':') > -1
return section
return t(section)
flexOpened: -> flexOpened: ->
return 'opened' if RocketChat.TabBar.isFlexOpen() return 'opened' if RocketChat.TabBar.isFlexOpen()
arrowPosition: -> arrowPosition: ->
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{{#if section}} {{#if section}}
<div class="section-title"> <div class="section-title">
<div class="section-title-text"> <div class="section-title-text">
{{_ section}} {{translateSection section}}
</div> </div>
<div class="section-title-right"> <div class="section-title-right">
<button class="button secondary expand"><span>{{_ "Expand"}}</span></button> <button class="button secondary expand"><span>{{_ "Expand"}}</span></button>
......
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