Skip to content

Commit

Permalink
MINOR Using <span> instead of <del>/<ins> in SiteTree->getTreeTitle()…
Browse files Browse the repository at this point in the history
… to avoid conflicting styles with jstree
  • Loading branch information
chillu committed Dec 12, 2011
1 parent c380af6 commit 020f480
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/model/SiteTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 020f480

Please sign in to comment.