N°2847 - UIContentBlock: Change code from "contentblock" to "content-block" to match convention

This commit is contained in:
Molkobain
2020-09-30 15:36:23 +02:00
parent 57fda98981
commit 6fd56f750e
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<?php
/**
/*
* @copyright Copyright (C) 2010-2020 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
@@ -23,8 +23,8 @@ use Combodo\iTop\Application\UI\UIBlock;
*/
class UIContentBlock extends UIBlock implements iUIContentBlock {
// Overloaded constants
public const BLOCK_CODE = 'ibo-contentblock';
public const HTML_TEMPLATE_REL_PATH = 'layouts/contentblock/layout';
public const BLOCK_CODE = 'ibo-content-block';
public const HTML_TEMPLATE_REL_PATH = 'layouts/content-block/layout';
/** @var array */
protected $aCSSClasses;

View File

@@ -1 +1 @@
{% extends 'layouts/contentblock/layout.html.twig' %}
{% extends 'layouts/content-block/layout.html.twig' %}