* Sidebar-Suchmaske
* Letzter Breadcrum-Eintrag ist kein Link * Sonstige Links im Layout (Impressum, etc.) * Vorschaubox-Anpassungen: page.box_body wurde nicht berücksichtigt; page.box_image_url wird jetzt gegenüber travelProgram.previewImage bevorzugt; Standard-Vorschaubild geändert * page.pagetitle gegenüber page.title als Seitenüberschrift bevorzugen * Fertigstellung Reiseprogrammseite; zu Tab-Inhalt scrollen; Bei Klick auf Buchen-Knopf zu Termintabelle scrollen (auch von der Suchseite aus) * Aufteilung der Vorschau-Boxen in vermittelte und nicht-vermittelte Reisen, falls es beide gibt * Falls page.real_path_url gesetzt wird => Eine Seite kann nicht mehr über den slug-Pfad (<eltern-seite>/<seite>) aufgerufen werden (Sonst gäbe es mehrere URLs für die gleiche Seite) git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3295 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
4c2fb2fd08
commit
20beca7c4d
25 changed files with 564 additions and 112 deletions
|
|
@ -18,7 +18,7 @@ class BreadcrumbEntry
|
|||
* @param $title
|
||||
* @param $url
|
||||
*/
|
||||
public function __construct($title, $url)
|
||||
public function __construct($title, $url = null)
|
||||
{
|
||||
$this->title = $title;
|
||||
$this->url = $url;
|
||||
|
|
|
|||
|
|
@ -174,4 +174,11 @@ class TravelCountry
|
|||
{
|
||||
return $this->programs;
|
||||
}
|
||||
|
||||
function __toString()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -792,7 +792,7 @@ class TravelProgram
|
|||
/**
|
||||
* Get showMap
|
||||
*
|
||||
* @return boolean
|
||||
* @return int 1 for mapHtml, 2 for mapImage
|
||||
*/
|
||||
public function getShowMap()
|
||||
{
|
||||
|
|
@ -1365,7 +1365,7 @@ class TravelProgram
|
|||
/**
|
||||
* Get countries
|
||||
*
|
||||
* @return \Doctrine\Common\Collections\Collection
|
||||
* @return \AppBundle\Entity\TravelCountry[]|\Doctrine\Common\Collections\Collection
|
||||
*/
|
||||
public function getCountries()
|
||||
{
|
||||
|
|
@ -1551,4 +1551,9 @@ class TravelProgram
|
|||
{
|
||||
return $this->page;
|
||||
}
|
||||
|
||||
public function getHasMap()
|
||||
{
|
||||
return ($this->showMap ?? 0) > 0 && ($this->mapHtml or $this->mapHtml);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue