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
a4904a85
Commit
a4904a85
authored
Jul 29, 2015
by
Liam Sharpe
Committed by
Robert Lyon
Aug 06, 2015
Browse files
fixed the broken modal on the copy collections page (Bug #1465107)
Change-Id: I511b9a5770ecc46b41437f1f158400c70b749826
parent
de4e9ec3
Changes
4
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/pagemodal.tpl
View file @
a4904a85
<div
class=
"modal fade page-modal js-page-modal"
id=
"page-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<
/
div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Close
</button
>
</div>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Close
</button
>
</div
>
</div>
</div>
</div>
</div>
\ No newline at end of file
</div>
htdocs/theme/raw/templates/previewcollectionnav.tpl
View file @
a4904a85
...
...
@@ -19,5 +19,3 @@
</div>
{/
foreach
}
</div>
{
include
file
=
"pagemodal.tpl"
}
\ No newline at end of file
htdocs/theme/raw/templates/view/choosetemplate.tpl
View file @
a4904a85
...
...
@@ -16,10 +16,18 @@
<input
type=
"hidden"
name=
"viewlimit"
value=
"
{
$views
->
limit
}
"
>
<input
type=
"hidden"
name=
"viewoffset"
value=
"0"
>
{
if
$views
->
group
}
<input
type=
"hidden"
name=
"group"
value=
"
{
$views
->
group
}
"
>
{/
if
}
{
if
$views
->
institution
}
<input
type=
"hidden"
name=
"institution"
value=
"
{
$views
->
institution
}
"
>
{/
if
}
{
if
$views
->
collection
}
<input
type=
"hidden"
name=
"searchcollection"
value=
"
{
$views
->
collection
}
"
>
{/
if
}
{
if
$views
->
collection
}
<input
type=
"hidden"
name=
"searchcollection"
value=
"
{
$views
->
collection
}
"
>
{/
if
}
{
if
$views
->
group
}
<input
type=
"hidden"
name=
"group"
value=
"
{
$views
->
group
}
"
>
{/
if
}
{
if
$views
->
institution
}
<input
type=
"hidden"
name=
"institution"
value=
"
{
$views
->
institution
}
"
>
{/
if
}
{
if
$views
->
collection
}
<input
type=
"hidden"
name=
"searchcollection"
value=
"
{
$views
->
collection
}
"
>
{/
if
}
{
if
$views
->
collection
}
<input
type=
"hidden"
name=
"searchcollection"
value=
"
{
$views
->
collection
}
"
>
{/
if
}
</form>
{
if
$GROUP
}
...
...
@@ -28,13 +36,13 @@
<div
class=
"lead mtl"
>
{
$helptext
|
safe
}
</div>
<div
id=
"copyview"
>
<div
id=
"templatesearch"
class=
"searchlist mtxl"
>
<div
id=
"templatesearch_table"
class=
"mtxl panel panel-default"
>
{
$views
->
html
|
safe
}
</div>
{
$views
->
pagination
.
html
|
safe
}
</div>
<div
id=
"templatesearch"
class=
"searchlist mtxl"
>
<div
id=
"templatesearch_table"
class=
"mtxl panel panel-default"
>
{
$views
->
html
|
safe
}
</div>
{
$views
->
pagination
.
html
|
safe
}
</div>
</div>
{
include
file
=
"pagemodal.tpl"
}
{
include
file
=
"footer.tpl"
}
htdocs/view/choosetemplate.php
View file @
a4904a85
...
...
@@ -132,7 +132,6 @@ EOF;
$smarty
=
smarty
(
array
(
'js/preview.js'
,
'searchtable'
),
array
(
'<link rel="stylesheet" type="text/css" href="'
.
append_version_number
(
get_config
(
'wwwroot'
)
.
'theme/views.css'
)
.
'">'
),
array
(),
array
(
'stylesheets'
=>
array
(
'style/views.css'
))
);
...
...
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