Repository navigation
Revert hard coded Name string in templates - #29161
Conversation
| <a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"> | ||
| <h1 class="logo-icon"> | ||
| <span class="own">own</span><span class="cloud">Cloud</span> | ||
| <?php $theme->getName(); ?> |
There was a problem hiding this comment.
This, unfortunately, overrides CE & EE theme. Shouldn't happen but does 👎
|
|
||
| $this->defaultEntity = 'ownCloud'; /* e.g. company name, used for footers and copyright notices */ | ||
| $this->defaultName = 'ownCloud'; /* short name, used when referring to the software */ | ||
| $this->defaultName = '<span class="own">own</span><span class="cloud">Cloud</span>'; /* short name, used when referring to the software */ |
There was a problem hiding this comment.
To provide the look needed in the EE Theme, we a bit more HTML in the defaultName. (Related to https://github.com/owncloud/core/pull/29161/files#r143151177)
This should not be escaped but render out valid HTML. @patrickjahns or @DeepDiver1975
There was a problem hiding this comment.
👎 I am not comfortable adding HTML tags to a string only field;
Also check occurences of $theme->getName() in the code - this will break other templates as well
|
Fixes #29172 |
|
I removed the hard-coded ownCloud occurrences in core. |
|
please squash ... |
Fall back to simple ownCloud string Don't restrain Name length
1968ce0 to
bc44c20
Compare
|
Please review @DeepDiver1975 & @patrickjahns … No longer in progress. |
patrickjahns
left a comment
There was a problem hiding this comment.
LGTM
@michaelstingl has the final say in this matter
michaelstingl
left a comment
There was a problem hiding this comment.
LGTM, but I only tested the ownBrander generated theme and I didn't test if this breaks other stuff… (vanilla oC, example theme etc)
|
@felixheidecke please backport to stable10 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Revert back hard-coded name string in core template files
Related Issue
https://github.com/owncloud/enterprise/issues/2271
How Has This Been Tested?
Visual test
Types of changes
Checklist: