Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions app/coffee/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,10 @@ init = ($log, $rootscope, $auth, $events, $analytics, $tagManager, $userPilot, $
navigationBarService.disableHeader()
else
navigationBarService.enableHeader()

# Whether or not to show the superfluous section titles on page
# Default to true if config doesn't exist
$rootscope.showSectionTitles = $tgConfig.get("showSectionTitles", true)

# Config for infinite scroll
angular.module('infinite-scroll').value('THROTTLE_MILLISECONDS', 500)
Expand Down
11 changes: 6 additions & 5 deletions app/partials/includes/components/mainTitle.jade
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
//-
//- Copyright (c) 2021-present Kaleidos INC

header
h1(
tg-main-title
i18n-section-name="{{ sectionName }}"
)
div(ng-if="showSectionTitles")
header
h1(
tg-main-title
i18n-section-name="{{ sectionName }}"
)
3 changes: 2 additions & 1 deletion conf/conf.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"ar",
"fa",
"he"
]
],
"showSectionTitles": true
}