mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
PHRAS-3341 change title color
This commit is contained in:
@@ -273,15 +273,20 @@ class record_preview extends record_adapter
|
||||
$this->title .= ' : </span> ' . parent::get_title($options);
|
||||
break;
|
||||
case "BASK":
|
||||
$this->title .= $this->name . ' (' . $this->getNumber() . '/' . $this->total . ') - ' . parent::get_title($options);
|
||||
$this->title = '<span style="color:#27bbe2;">';
|
||||
$this->title .= $this->name . ' (' . $this->getNumber() . '/' . $this->total . ') : </span>' . parent::get_title($options);
|
||||
|
||||
break;
|
||||
case "REG":
|
||||
$this->title = '<span style="color:#27bbe2;">';
|
||||
$this->title .= $this->name;
|
||||
|
||||
if ($this->getNumber() != 0) {
|
||||
$this->title .= sprintf(
|
||||
' (%s) - %s',$this->getNumber() . '/' . $this->total, parent::get_title($options)
|
||||
' (%s) : </span> %s',$this->getNumber() . '/' . $this->total, parent::get_title($options)
|
||||
);
|
||||
} else {
|
||||
$this->title .= '</span>';
|
||||
}
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user