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
b793dcd1
Commit
b793dcd1
authored
Apr 26, 2019
by
Robert Lyon
Committed by
Gerrit Code Review
Apr 26, 2019
Browse files
Merge "Bug 1825599: Adding the pagination link styles via PHP"
parents
327d5cf3
66a6ede8
Changes
4
Hide whitespace changes
Inline
Side-by-side
htdocs/js/paginator.js
View file @
b793dcd1
...
...
@@ -67,10 +67,6 @@ return function(id, list, heading, script, extradata) {
this
.
rewritePaginatorLinks
=
function
()
{
$
(
'
#
'
+
self
.
id
+
'
li
'
).
each
(
function
()
{
// Add links so bootstrap knows this is a pagination item
$
(
this
).
addClass
(
"
page-item
"
);
$
(
this
).
find
(
"
> *
"
).
addClass
(
"
page-link
"
);
var
a
=
$
(
this
).
find
(
'
a
'
)[
0
];
// If there is a link
...
...
htdocs/lib/web.php
View file @
b793dcd1
...
...
@@ -4491,18 +4491,18 @@ function build_pagination_pagelink($class, $text, $title, $disabled=false, $url=
}
$result
=
"<li class='
$class
'>"
;
$result
=
"<li class='
page-item
$class
'>"
;
if
(
!
empty
(
$title
))
{
$text
.
=
'<span class="sr-only">'
.
$title
.
'</span>'
;
}
if
(
$disabled
)
{
$result
.
=
'<span>'
;
$result
.
=
'<span
class="page-link"
>'
;
$result
.
=
$text
;
$result
.
=
'</span>'
;
}
else
{
$result
.
=
'<a href="'
.
hsc
(
$url
)
.
'" title="'
.
$title
.
'">'
;
$result
.
=
'<a
class="page-link"
href="'
.
hsc
(
$url
)
.
'" title="'
.
$title
.
'">'
;
$result
.
=
$text
;
$result
.
=
'</a>'
;
}
...
...
htdocs/theme/raw/plugintype/interaction/forum/templates/view.tpl
View file @
b793dcd1
...
...
@@ -71,7 +71,7 @@
</table>
{
if
$regulartopics
}
<div>
<div
class=
"fullwidth forumselectwrap"
>
{
$pagination
|
safe
}
</div>
{/
if
}
...
...
htdocs/theme/raw/sass/_custom.scss
View file @
b793dcd1
...
...
@@ -840,5 +840,5 @@ div.form-group .form-control-label {
// Forum select wrap too close to text
.forumselectwrap
{
margin
-left
:
10px
;
margin
:
0
0
10px
10px
;
}
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