From 39c7d36ed5b96e1972b735933a56d106c29b56b5 Mon Sep 17 00:00:00 2001 From: Jens Mittelbach Date: Mon, 10 Jan 2022 14:55:50 +0100 Subject: [PATCH] Update GlossarySheet.xml some Code fixes ($object.getPropertyReference()) --- .../resources/Glossary/Code/GlossarySheet.xml | 84 +++++++++---------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/application-glossary-ui/src/main/resources/Glossary/Code/GlossarySheet.xml b/application-glossary-ui/src/main/resources/Glossary/Code/GlossarySheet.xml index be5546d..54e2f4f 100644 --- a/application-glossary-ui/src/main/resources/Glossary/Code/GlossarySheet.xml +++ b/application-glossary-ui/src/main/resources/Glossary/Code/GlossarySheet.xml @@ -1,41 +1,41 @@ - - - - - - Glossary.Code - GlossarySheet - - - 0 - xwiki:XWiki.Admin - Glossary.Code.WebHome - xwiki:XWiki.Admin - xwiki:XWiki.Admin - 1.1 - - <comment/> - <minorEdit>false</minorEdit> - <syntaxId>xwiki/2.1</syntaxId> - <hidden>true</hidden> +<?xml version="1.1" encoding="UTF-8"?> + +<!-- + * See the NOTICE file distributed with this work for additional + * information regarding copyright ownership. + * + * This is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this software; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. +--> + +<xwikidoc version="1.4" reference="Glossary.Code.GlossarySheet" locale=""> + <web>Glossary.Code</web> + <name>GlossarySheet</name> + <language/> + <defaultLanguage/> + <translation>0</translation> + <creator>xwiki:XWiki.Admin</creator> + <parent>Glossary.Code.WebHome</parent> + <author>xwiki:XWiki.Admin</author> + <contentAuthor>xwiki:XWiki.Admin</contentAuthor> + <version>1.1</version> + <title/> + <comment/> + <minorEdit>false</minorEdit> + <syntaxId>xwiki/2.1</syntaxId> + <hidden>true</hidden> <content>{{velocity}} #set($object = $doc.getObject('Glossary.Code.GlossaryClass')) #if (!$object) @@ -52,7 +52,7 @@ <dl> <dt #if (!$editing && $hasEdit) class="editableProperty" - data-property="$escapetool.xml($services.model.serialize($object.getProperty('title').reference))" + data-property="$escapetool.xml($services.model.serialize($object.getPropertyReference('title')))" data-property-type="object"#end> <label#if ($editing) for="Glossary.Code.GlossaryClass_0_title"#end> $escapetool.xml($doc.displayPrettyName('title', false, false)) @@ -61,7 +61,7 @@ <dd>$doc.display('title')</dd> <dt #if (!$editing && $hasEdit) class="editableProperty" - data-property="$escapetool.xml($services.model.serialize($object.getProperty('definition').reference))" + data-property="$escapetool.xml($services.model.serialize($object.getPropertyReference('definition')))" data-property-type="object"#end> <label#if ($editing) for="Glossary.Code.GlossaryClass_0_definition"#end> $escapetool.xml($doc.displayPrettyName('definition', false, false)) @@ -71,5 +71,5 @@ </dl> </div> {{/html}} -{{velocity/}}</content> -</xwikidoc> +{{/velocity}}</content> +</xwikidoc>