Skip to content

Commit

Permalink
MDL-40759 fontawesome: Fix bugs from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Mar 17, 2017
1 parent c8d0efc commit 07171e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions comment/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function __construct(stdClass $options) {
// load template
$this->template = html_writer::start_tag('div', array('class' => 'comment-message'));

$this->template .= html_writer::start_tag('div', array('class' => 'comment-message-meta'));
$this->template .= html_writer::start_tag('div', array('class' => 'comment-message-meta m-r-3'));

$this->template .= html_writer::tag('span', '___picture___', array('class' => 'picture'));
$this->template .= html_writer::tag('span', '___name___', array('class' => 'user')) . ' - ';
Expand Down Expand Up @@ -264,6 +264,7 @@ public static function init(moodle_page $page = null) {
'commentscount',
'commentsrequirelogin',
'deletecommentbyon',
'deletecomment',
),
'moodle'
);
Expand Down Expand Up @@ -577,7 +578,7 @@ public function get_comments($page = '') {
$c->content = $u->ccontent;
$c->format = $u->cformat;
$c->timecreated = $u->ctimecreated;
$c->strftimeformat = get_string('strftimerecentfull', 'langconfig');
$c->strftimeformat = get_string('strftimerecent', 'langconfig');
$url = new moodle_url('/user/view.php', array('id'=>$u->id, 'course'=>$this->courseid));
$c->profileurl = $url->out(false); // URL should not be escaped just yet.
$c->fullname = fullname($u);
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/templates/core/action_menu_trigger.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{!
Action menu trigger.
}}
<span class="dropdown">
<div class="dropdown d-inline">
<a href="#" class="dropdown-toggle" id="dropdown-{{instance}}" title="{{title}}" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{{actiontext}}}{{{menutrigger}}}{{#icon}}{{#pix}}{{key}},{{component}},{{title}}{{/pix}}{{/icon}}{{#rawicon}}{{{.}}}{{/rawicon}}{{#menutrigger}}<b class="caret"></b>{{/menutrigger}}</a>
{{#secondary}}
<div class="dropdown-menu dropdown-menu-right {{classes}}"{{#attributes}} {{name}}="{{value}}"{{/attributes}}>
Expand Down

0 comments on commit 07171e8

Please sign in to comment.