Merge pull request #134 from mikeage/master
Show CSS for editcreation/editcaptured for all albums
This commit is contained in:
commit
48a1269547
@ -20,12 +20,6 @@
|
|||||||
|
|
||||||
class editcaptured_theme_Core {
|
class editcaptured_theme_Core {
|
||||||
static function head($theme) {
|
static function head($theme) {
|
||||||
if (!$theme->item()) {
|
$theme->css("editcaptured.css");
|
||||||
return;
|
|
||||||
}
|
|
||||||
$item = $theme->item();
|
|
||||||
if ( $item && access::can("edit", $item) ) {
|
|
||||||
$theme->css("editcaptured.css");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,12 +20,6 @@
|
|||||||
|
|
||||||
class editcreation_theme_Core {
|
class editcreation_theme_Core {
|
||||||
static function head($theme) {
|
static function head($theme) {
|
||||||
if (!$theme->item()) {
|
return $theme->css("editcreation.css");
|
||||||
return;
|
|
||||||
}
|
|
||||||
$item = $theme->item();
|
|
||||||
if ( $item && access::can("edit", $item) ) {
|
|
||||||
return $theme->css("editcreation.css");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user