Explorar el Código

add presentation page break setting

Seiya Tashiro hace 7 años
padre
commit
2952f84f60
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      src/server/util/swigFunctions.js

+ 10 - 0
src/server/util/swigFunctions.js

@@ -142,6 +142,16 @@ module.exports = function(crowi, app, req, locals) {
     return Config.customCss();
   };
 
+  locals.pageBreakSeparator = function() {
+    let config = crowi.getConfig();
+    return Config.pageBreakSeparator(config);
+  };
+
+  locals.pageBreakCustomSeparator = function() {
+    let config = crowi.getConfig();
+    return Config.pageBreakCustomSeparator(config);
+  };
+
   locals.customScript = function() {
     return Config.customScript();
   };