Commit 30a8942c authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1731330: Style group edit delete buttons on"

parents f13a2651 9474fd7c
......@@ -1232,7 +1232,7 @@ class ArtefactTypeBlogPost extends ArtefactType {
'submit' => array(
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-default btn-sm',
'class' => 'btn-default btn-sm last',
'elementtitle' => get_string('delete'),
'confirm' => get_string('deleteblogpost?', 'artefact.blog'),
'value' => '<span class="icon icon-trash icon-lg text-danger" role="presentation" aria-hidden="true"></span><span class="sr-only">' . get_string('deletespecific', 'mahara', $title) . '</span>',
......
......@@ -29,10 +29,12 @@
<div class="btn-group postcontrols">
<form name="edit_{$post->id}" action="{$WWWROOT}artefact/blog/post.php" class="form-as-button pull-left">
<input type="hidden" name="id" value="{$post->id}">
<button type="submit" class="submit btn btn-default btn-sm" title="{str(tag=edit)|escape:html|safe}">
<span class="icon icon-pencil icon-lg" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=editspecific arg1=$post->title |escape:html|safe}</span>
</button>
<div class="first">
<button type="submit" class="submit btn btn-default btn-sm" title="{str(tag=edit)|escape:html|safe}">
<span class="icon icon-pencil icon-lg" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=editspecific arg1=$post->title |escape:html|safe}</span>
</button>
</div>
</form>
{$post->delete|safe}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment