Can lock theme

This commit is contained in:
nemunaire 2023-03-20 15:20:20 +01:00
parent b8c5ec6725
commit d4ce0dd474
9 changed files with 85 additions and 43 deletions

View file

@ -1539,7 +1539,7 @@ angular.module("FICApp")
})
.controller("ThemeController", function($scope, Theme, $routeParams, $location, $rootScope, $http) {
$scope.theme = Theme.get({ themeId: $routeParams.themeId });
$scope.fields = ["name", "urlid", "authors", "headline", "intro", "image", "partner_txt", "partner_href", "partner_img"];
$scope.fields = ["name", "urlid", "locked", "authors", "headline", "intro", "image", "partner_txt", "partner_href", "partner_img"];
$scope.saveTheme = function() {
if (this.theme.id) {