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
0fc5c50f
Commit
0fc5c50f
authored
Jan 09, 2018
by
Dominik Hebeler
Browse files
Spendenaufruf entfernt
parent
818920e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/views/layouts/staticPages.blade.php
View file @
0fc5c50f
...
...
@@ -38,9 +38,6 @@
</header>
@include('parts.sidebar', ['id' => 'staticPagesSideBar'])
<div
class=
"wrapper"
>
@if(LaravelLocalization::getCurrentLocale() == "de"
&&
strpos(url()->current(), '/beitritt') === false
&&
strpos(url()->current(), '/spendenaufruf') === false)
@include('parts.spendenaufruf')
@endif
<main
class=
"mg-panel container"
>
@if (isset($success))
<div
class=
"alert alert-success"
role=
"alert"
>
{{ $success }}
</div>
...
...
resources/views/metager3.blade.php
View file @
0fc5c50f
...
...
@@ -23,15 +23,12 @@
@
endif
<
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
)
@
include
(
'parts.spendenaufruf'
)
@
endif
@
if
(
$metager
->
hasProducts
())
@
if
(
$metager
->
getFokus
()
!==
"produktsuche"
&&
!
$apiAuthorized
)
@
include
(
'layouts.products'
,
[
'products'
=>
$metager
->
getProducts
()])
@
endif
@
else
@
for
(
$i
=
0
;
$i
<=
1
;
$i
++
)
@
for
(
$i
=
0
;
$i
<=
2
;
$i
++
)
@
include
(
'layouts.ad'
,
[
'ad'
=>
$metager
->
popAd
()])
@
endfor
@
endif
...
...
resources/views/metager3results.blade.php
View file @
0fc5c50f
...
...
@@ -19,16 +19,13 @@
</
div
>
@
endif
<
div
id
=
"results"
>
@
if
(
!
$apiAuthorized
&&
!
$metager
->
validated
&&
LaravelLocalization
::
getCurrentLocale
()
==
"de"
&&
strpos
(
url
()
->
current
(),
'/beitritt'
)
===
false
&&
strpos
(
url
()
->
current
(),
'/spendenaufruf'
)
===
false
)
@
include
(
'parts.spendenaufruf'
)
@
endif
{{
--
Show
initial
products
or
a
@
if
(
$metager
->
hasProducts
())
@
if
(
$metager
->
getFokus
()
!==
"produktsuche"
&&
!
$apiAuthorized
)
@
include
(
'layouts.products'
,
[
'products'
=>
$metager
->
getProducts
()])
@
endif
@
else
@
for
(
$i
=
0
;
$i
<=
1
;
$i
++
)
@
for
(
$i
=
0
;
$i
<=
2
;
$i
++
)
@
include
(
'layouts.ad'
,
[
'ad'
=>
$metager
->
popAd
()])
@
endfor
@
endif
...
...
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