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
open-source
MetaGer
Commits
1953b72b
Commit
1953b72b
authored
Jan 08, 2018
by
Karl Hasselbring
Browse files
Spendenaufruf refactoring
parent
eab45ea3
Changes
6
Hide whitespace changes
Inline
Side-by-side
resources/assets/less/metager/result-page.less
View file @
1953b72b
...
...
@@ -367,3 +367,12 @@ a {
width: @quicktip-width;
}
}
#spendenaufruf {
margin-bottom: 10px;
a {
background-color: white;
display: inline-block;
width: 100%;
}
}
\ No newline at end of file
resources/assets/less/metager/start-page.less
View file @
1953b72b
...
...
@@ -110,5 +110,12 @@
}
#spendenaufruf {
margin-bottom: 50px;
}
text-align: center;
a {
background-color: white;
display: inline-block;
width: 100%;
max-width: 770px;
margin-bottom: 10px;
}
}
\ No newline at end of file
resources/views/layouts/staticPages.blade.php
View file @
1953b72b
...
...
@@ -39,17 +39,7 @@
@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
<div
class=
"wrapper"
>
@if(LaravelLocalization::getCurrentLocale() == "de"
&&
strpos(url()->current(), '/beitritt') === false
&&
strpos(url()->current(), '/spendenaufruf') === false)
<div
id=
"spendenaufruf"
style=
"text-align: center;"
>
<a
href=
"/spendenaufruf"
target=
"_blank"
style=
"
background-color: white;
display: inline-block;
width: 100%;
max-width: 770px;
margin-bottom: 10px;
"
>
<img
src=
"/img/aufruf.png"
alt=
"Spendenaufruf SuMa eV"
width=
"100%"
>
</a>
</div>
@include('parts.spendenaufruf')
@endif
<main
class=
"mg-panel container"
>
@if (isset($success))
...
...
resources/views/metager3.blade.php
View file @
1953b72b
...
...
@@ -24,15 +24,7 @@
<
main
id
=
"results"
>
{{
--
Show
initial
products
or
ads
--
}}
@
if
(
!
$apiAuthorized
&&
!
$metager
->
validated
&&
LaravelLocalization
::
getCurrentLocale
()
==
"de"
&&
strpos
(
url
()
->
current
(),
'/beitritt'
)
===
false
&&
strpos
(
url
()
->
current
(),
'/spendenaufruf'
)
===
false
)
<
div
id
=
"spendenaufruf"
style
=
"margin-bottom: 10px"
>
<
a
href
=
"/spendenaufruf"
target
=
"_blank"
style
=
"
background-color: white;
display: inline-block;
width: 100%;
"
>
<
img
src
=
"/img/aufruf.png"
alt
=
"Spendenaufruf SuMa eV"
width
=
"100%"
>
</
a
>
</
div
>
@
include
(
'parts.spendenaufruf'
)
@
endif
@
if
(
$metager
->
hasProducts
())
@
if
(
$metager
->
getFokus
()
!==
"produktsuche"
&&
!
$apiAuthorized
)
...
...
resources/views/metager3results.blade.php
View file @
1953b72b
...
...
@@ -20,15 +20,7 @@
@
endif
<
div
id
=
"results"
>
@
if
(
!
$apiAuthorized
&&
!
$metager
->
validated
&&
LaravelLocalization
::
getCurrentLocale
()
==
"de"
&&
strpos
(
url
()
->
current
(),
'/beitritt'
)
===
false
&&
strpos
(
url
()
->
current
(),
'/spendenaufruf'
)
===
false
)
<
div
id
=
"spendenaufruf"
style
=
"margin-bottom: 10px"
>
<
a
href
=
"/spendenaufruf"
target
=
"_blank"
style
=
"
background-color: white;
display: inline-block;
width: 100%;
"
>
<
img
src
=
"/img/aufruf.png"
alt
=
"Spendenaufruf SuMa eV"
width
=
"100%"
>
</
a
>
</
div
>
@
include
(
'parts.spendenaufruf'
)
@
endif
{{
--
Show
initial
products
or
a
@
if
(
$metager
->
hasProducts
())
...
...
resources/views/parts/spendenaufruf.blade.php
0 → 100644
View file @
1953b72b
<div
id=
"spendenaufruf"
>
<a
href=
"/spendenaufruf"
target=
"_blank"
>
<img
src=
"/img/aufruf.png"
alt=
"Spendenaufruf SuMa eV"
width=
"100%"
>
</a>
</div>
\ No newline at end of file
Write
Preview
Markdown
is supported
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