Skip to content

Commit

Permalink
[TASK] Replace Service Desk URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskienast committed Oct 18, 2023
1 parent ce6bdd6 commit 9c5a7cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ template:
home: app_index
privacy: https://typo3.com/privacy-policy
legal: https://typo3.com/legal-notice
feedback: https://jira.typo3.com/servicedesk/customer/portal/2
feedback: https://support.typo3.com
menu:
# Example: App\Menu\MenuBuilder
class: T3G\Bundle\TemplateBundle\Menu\MenuBuilder
Expand Down
4 changes: 2 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public function getConfigTreeBuilder()
->example('https://typo3.com/legal-notice')
->end()
->scalarNode('feedback')
->defaultValue('https://jira.typo3.com/servicedesk/customer/portal/2')
->example('https://jira.typo3.com/servicedesk/customer/portal/2')
->defaultValue('https://support.typo3.com')
->example('https://support.typo3.com')
->end()
->end()
->end()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<h1>Ooops... <strong>{{ status_code }}</strong><br>{{ status_text }}</h1>
<p class="lead">Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.</p>
<a href="https://jira.typo3.com/servicedesk/customer/portal/2" target="_blank" rel="noopener noreferrer" class="btn btn-lg btn-light">
<a href="https://support.typo3.com" target="_blank" rel="noopener noreferrer" class="btn btn-lg btn-light">
<span class="btn-icon">
<i class="fas fa-bug"></i>
</span>
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/DependencyInjection/TemplateExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testDefault()
$this->assertEquals('app_index', $config['routes']['home']);
$this->assertEquals('https://typo3.com/privacy-policy', $config['routes']['privacy']);
$this->assertEquals('https://typo3.com/legal-notice', $config['routes']['legal']);
$this->assertEquals('https://jira.typo3.com/servicedesk/customer/portal/2', $config['routes']['feedback']);
$this->assertEquals('https://support.typo3.com', $config['routes']['feedback']);
$this->assertEquals('T3G\Bundle\TemplateBundle\Menu\MenuBuilder', $config['menu']['class']);
$this->assertEquals([], $config['security']['headers']);
$this->assertEquals(['report_only' => true, 'rules' => []], $config['security']['content_security_policy']);
Expand Down

0 comments on commit 9c5a7cf

Please sign in to comment.