Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
6fe60d6a
Commit
6fe60d6a
authored
Mar 22, 2016
by
Son Nguyen
Committed by
Gerrit Code Review
Mar 22, 2016
Browse files
Merge "Bug 1527962: Display message for adding page to collection styled"
parents
8b2c71b8
d070adbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/collection/views.php
View file @
6fe60d6a
...
...
@@ -41,7 +41,7 @@ if ($accesschanged = $SESSION->get('pageaccesschanged')) {
$alertstr
=
get_string
(
'viewsaddedtocollection1'
,
'collection'
,
$SESSION
->
get
(
'pagesadded'
))
.
' '
.
$alertstr
;
$inlinejs
=
<<<EOF
jQuery(function($) {
var message = $('<div id="changestatusline" class="
warning"><div
>$alertstr</
div
></div>');
var message = $('<div id="changestatusline" class="
alert alert-dismissible alert-warning" role="alert"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><p
>$alertstr</
p
></div>');
$('#messages').append(message);
});
EOF;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment