Added metadata editor title and ellipsis

This commit is contained in:
Albert Santoni 2015-08-27 20:23:53 -04:00
parent a08d5b71cf
commit 8c90fbe4eb
3 changed files with 9 additions and 0 deletions

View File

@ -460,7 +460,9 @@ class LibraryController extends Zend_Controller_Action
}
$this->view->form = $form;
Logging::info($this->view->form);
$this->view->id = $file_id;
$this->view->title = $file->getPropelOrm()->getDbTrackTitle();
$this->view->type = "md";
$this->view->html = $this->view->render('library/edit-file-md.phtml');
}

View File

@ -1,3 +1,6 @@
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong" id="edit-md-dialog">
<div class="inner_editor_title">
<H2><?php echo(_("Editing "));?>"<span class="title_obj_name"><?php echo($this->title); ?></span>"</H2>
</div>
<?php echo $this->form; ?>
</div>

View File

@ -423,6 +423,10 @@ li.ui-state-default {
.inner_editor_title h2 {
margin: 10px 0 0 10px;
width: 85%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.inner_editor_title span {
font-size: inherit;