mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -05:00
cleaning up
This commit is contained in:
parent
3c22937896
commit
bf8040457f
7 changed files with 8 additions and 6 deletions
|
@ -59,7 +59,6 @@ Package.onUse(function (api) {
|
|||
'lib/client/templates/post_item.html',
|
||||
'lib/client/templates/post_item.js',
|
||||
'lib/client/templates/post_list_top.html',
|
||||
'lib/client/templates/post_list_top.js',
|
||||
'lib/client/templates/post_page.html',
|
||||
'lib/client/templates/post_page.js',
|
||||
'lib/client/templates/post_submit.html',
|
||||
|
|
3
packages/telescope-tagline-banner/i18n/fr.i18n.json
Normal file
3
packages/telescope-tagline-banner/i18n/fr.i18n.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"showTaglineBanner": "Afficher le slogan"
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
<template name="taglineBanner">
|
||||
<template name="tagline_banner">
|
||||
{{#if showTaglineBanner}}
|
||||
<h3 class="grid tagline"><span>{{getSetting "tagline"}}</span></h3>
|
||||
{{/if}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Template.taglineBanner.helpers({
|
||||
Template.tagline_banner.helpers({
|
||||
showTaglineBanner: function () {
|
||||
return !!Settings.get('tagline') && !!Settings.get('showTaglineBanner');
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Telescope.modules.register("postListTop", {
|
||||
template: 'taglineBanner',
|
||||
template: 'tagline_banner',
|
||||
order: 1
|
||||
});
|
||||
|
||||
|
@ -8,7 +8,6 @@ var showTaglineBanner = {
|
|||
propertySchema: {
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
label: 'Tagline banner',
|
||||
autoform: {
|
||||
group: '01_general',
|
||||
instructions: 'Show tagline on homepage.'
|
||||
|
|
|
@ -28,7 +28,8 @@ Package.onUse(function (api) {
|
|||
], ['client']);
|
||||
|
||||
api.addFiles([
|
||||
"i18n/en.i18n.json"
|
||||
"i18n/en.i18n.json",
|
||||
"i18n/fr.i18n.json"
|
||||
], ["client", "server"]);
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue