Skip to content

Commit

Permalink
Fix new namespace of slub_digitalcollections
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Bigga committed Jul 30, 2021
1 parent c150345 commit d023743
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 10 deletions.
66 changes: 66 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# CSS-Files
[*.css]
indent_style = space
indent_size = 4

# HTML-Files
[*.html]
indent_style = space
indent_size = 4

# TMPL-Files
[*.tmpl]
indent_style = space
indent_size = 4

# LESS-Files
[*.less]
indent_style = space
indent_size = 4

# JS-Files
[*.js]
indent_style = space
indent_size = 4

# PHP-Files
[*.php]
indent_style = space
indent_size = 4

# MD-Files
[*.md]
indent_style = space
indent_size = 4

# ReST-Files
[*.rst]
indent_style = space
indent_size = 3

# TypoScript
[*.typoscript]
indent_style = space
indent_size = 4

# YML-Files
[{*.yml,*.yaml}]
indent_style = space
indent_size = 4

# package.json, composer.json or .travis.yml
[{package.json,composer.json,.travis.yml}]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion Classes/Controller/StatisticController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
use In2code\Femanager\Utility\LocalizationUtility;
use Slub\DigasFeManagement\Domain\Model\Statistic;
use Slub\DigasFeManagement\Domain\Validator\StatisticTstampValidator;
use Slub\DigitalCollections\Helpers\GetDoc;
use Slub\SlubDigitalcollections\Helpers\GetDoc;
use TYPO3\CMS\Core\Messaging\FlashMessage;
use TYPO3\CMS\Core\Utility\GeneralUtility;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{namespace dv=Slub\SlubWebDigas\ViewHelpers}
{namespace dc=Slub\DigitalCollections\ViewHelpers}
{namespace digas=Slub\DigasFeManagement\ViewHelpers}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:dv="http://typo3.org/ns/Slub/SlubWebDigas/ViewHelpers"
xmlns:dc="http://typo3.org/ns/Slub/SlubDigitalcollections/ViewHelpers"
xmlns:digas="http://typo3.org/ns/Slub/DigasFeManagement/ViewHelpers"
data-namespace-typo3-fluid="true"
lang="en">

<dv:titleTag
title="<dc:xpath xpath='(//mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:titleInfo[not(@type=\"alternative\")]/mods:nonSort | //mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:titleInfo[not(@type=\"alternative\")]/mods:title | //mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:titleInfo[not(@type=\"alternative\")]/mods:partNumber | //mets:dmdSec/mets:mdWrap/mets:xmlData/mods:mods/mods:titleInfo[not(@type=\"alternative\")]/mods:partName)[1]' />"
/>
Expand Down Expand Up @@ -30,3 +34,5 @@
<f:if condition="{piwik_idsite}">
<f:render section="Piwik" partial="Piwik" arguments="{_all}" />
</f:if>

</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{namespace dc=Slub\DigitalCollections\ViewHelpers}
<div xmlns="http://www.w3.org/1999/xhtml" lang="en" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:dc="http://typo3.org/ns/Slub/SlubDigitalcollections/ViewHelpers"
data-namespace-typo3-fluid="true"
lang="en">

<f:section name="PageView">
<div class="document-view">
Expand Down Expand Up @@ -240,3 +242,5 @@

</div>
</f:section>

</html>
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Statistic/Administration.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{namespace dc=Slub\DigitalCollections\ViewHelpers}
{namespace dc=Slub\SlubDigitalcollections\ViewHelpers}
<f:layout name="Default"/>

<f:section name="main">
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Statistic/ViewSingle.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{namespace dc=Slub\DigitalCollections\ViewHelpers}
{namespace dc=Slub\SlubDigitalcollections\ViewHelpers}
<f:layout name="Default"/>

<f:section name="main">
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '1.0.0',
'version' => '1.1.0',
'constraints' => [
'depends' => [
'typo3' => '9.5.0-9.5.99',
'typo3' => '9.5.28-9.5.99',
'femanager' => '5.4.0',
'fe_change_pwd' => '2.0.0-2.99.99'
],
Expand Down

0 comments on commit d023743

Please sign in to comment.