CC-6106: Permission problems with bulk and single edit in the Dashboard

This commit is contained in:
drigato 2015-08-28 13:40:38 -04:00
parent f36ff944c2
commit 6811646aaa
3 changed files with 27 additions and 6 deletions

View file

@ -1,6 +1,12 @@
<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>
<?php if ($this->permissionDenied) { ?> <h3>You do not have permission to edit this track.</h3> <?php } ?>
<H2><?php
if ($this->permissionDenied) {
echo(_("Viewing "));
} else {
echo(_("Editing "));
}?>"<span class="title_obj_name"><?php echo($this->title); ?></span>"</H2>
</div>
<?php echo $this->form; ?>
</div>