Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Using <span> instead of <del>/<ins> in SiteTree->getTreeTitle()…

… to avoid conflicting styles with jstree
  • Loading branch information...
commit 020f4802565be75de7665db5b60d4bd4874a106f 1 parent c380af6
@chillu chillu authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 code/model/SiteTree.php
View
6 code/model/SiteTree.php
@@ -2470,12 +2470,12 @@ function TreeTitle() {
function getTreeTitle() {
if($this->IsDeletedFromStage) {
if($this->ExistsOnLive) {
- $tag ="del title=\"" . _t('SiteTree.REMOVEDFROMDRAFT', 'Removed from draft site') . "\"";
+ $tag ="span class=\"del\" title=\"" . _t('SiteTree.REMOVEDFROMDRAFT', 'Removed from draft site') . "\"";
} else {
- $tag ="del class=\"deletedOnLive\" title=\"" . _t('SiteTree.DELETEDPAGE', 'Deleted page') . "\"";
+ $tag ="span class=\"del\" class=\"deletedOnLive\" title=\"" . _t('SiteTree.DELETEDPAGE', 'Deleted page') . "\"";
}
} elseif($this->IsAddedToStage) {
- $tag = "ins title=\"" . _t('SiteTree.ADDEDTODRAFT', 'Added to draft site') . "\"";
+ $tag = "span class=\"ins\" title=\"" . _t('SiteTree.ADDEDTODRAFT', 'Added to draft site') . "\"";
} elseif($this->IsModifiedOnStage) {
$tag = "span title=\"" . _t('SiteTree.MODIFIEDONDRAFT', 'Modified on draft site') . "\" class=\"status modified\"";
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.