From 677d523ef46f0698a9921fab54fc92ee088dac09 Mon Sep 17 00:00:00 2001 From: denise Date: Thu, 9 Aug 2012 11:20:49 -0400 Subject: [PATCH] CC-4187: Media Library -> Regular Playlist : Use legend instead of label for different elements in context view -done --- .../library/get-file-metadata.ajax.phtml | 50 ++++++++++++------- airtime_mvc/public/css/styles.css | 28 ++++++++--- 2 files changed, 53 insertions(+), 25 deletions(-) diff --git a/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml b/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml index ca14ac39f..468bcf57c 100644 --- a/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml +++ b/airtime_mvc/application/views/scripts/library/get-file-metadata.ajax.phtml @@ -23,19 +23,31 @@ type == "playlist" || $this->type == "block") : ?> -
Name:md["dc:title"]);?>
-
Creator:md["dc:creator"]);?>
-type == "block" && $this->blType == "Dynamic") { ?> -
Length:block->getFormattedLength();?>
- -
Length:md["dcterms:extent"]);?>
+
+ Name:md["dc:title"]);?>
+ Creator:md["dc:creator"]);?>
+ type == "block" && $this->blType == "Dynamic") { ?> + Length:block->getFormattedLength();?>
+ + Length:md["dcterms:extent"]);?>
+ + Description:md["dc:description"]);?> +
+ +type == "playlist") { ?> +
+o Web Stream
+o Dynamic Playlist
+o Static Playlist
+o Audio Track +
-
Description:md["dc:description"]);?>
+ type == "playlist" || ($this->type == "block" && $this->blType == "Static")) {?> type == "playlist") { ?> -
Playlist Contents:
+
Playlist Contents:
-
Static Playlist Contents:
+
Static Playlist Contents:
contents as $row) : ?> @@ -52,14 +64,17 @@ isStatic(); ?> - '> - - '> + + + + + + @@ -71,7 +86,7 @@
getFormattedLength(); ?>
blType == "Dynamic") { ?> -
Dynamic Playlist Criteria:
+
Dynamic Playlist Criteria:
contents["crit"] as $criterias) : ?> @@ -84,13 +99,14 @@ if (strlen($crit["display_name"]) > $critMaxStrLen) { $crit["display_name"] = substr($crit["display_name"], 0, 12)."..."; } - if (strlen($crit["modifier"]) > $critMaxStrLen) { - $crit["modifier"] = substr($crit["modifier"], 0, 12)."..."; + $modMaxStrLen = 16; + if (strlen($crit["modifier"]) > $modMaxStrLen) { + $crit["modifier"] = substr($crit["modifier"], 0, 15)."..."; } ?> - - + + diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index b4a398055..41d230e8a 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -446,11 +446,7 @@ table.library-get-file-md.table-small{ white-space: nowrap; } -.file-md-qtip-criteria-width-crit{ - width:70px; -} - -.file-md-qtip-criteria-width-mod{ +.file-md-qtip-criteria-width-small{ width:70px; } @@ -477,13 +473,29 @@ table.library-get-file-md.table-small{ font-style: italic; } -.file-md-qtip-playlist.dynamic td{ - color: #63a2f0; +.file-md-qtip-left{ + float: left; + width: 60%; } -.file-md-qtip-playlist.static td{ +.file-md-qtip-legend { + float: right; + width: 30%; + font-size: 9px; + padding: 0px; + vertical-align:top; + line-height: 13px; +} +.static { color: #f09839; } +.dynamic { + color: #63a2f0; +} +.webstream { + color: #4eba70; +} + /***** LIBRARY QTIP METADATA SPECIFIC STYLES END *****/
to