Use LOCALYEAR for JST New Year boundary |
Add temporary festival facilities and map support |
||
| 363行目: | 363行目: | ||
|link type=post button | |link type=post button | ||
|query string=FestivalStallPlacement[festival_id]={{PAGEID}}&FestivalStallPlacement[year]={{LOCALYEAR}} | |query string=FestivalStallPlacement[festival_id]={{PAGEID}}&FestivalStallPlacement[year]={{LOCALYEAR}} | ||
}} | |||
</div> | |||
<div class="festival-stall-contribute"> | |||
<div class="festival-stall-contribute-title">ごみ箱・仮設トイレなどの臨時設備を見つけましたか?</div> | |||
<p>ごみ箱、仮設トイレ、救護所、給水所などの場所も、1件から登録できます。</p> | |||
{{#formlink: | |||
form=FestivalTemporaryFacility | |||
|link text=+ ごみ箱・トイレなどの臨時設備を追加 | |||
|link type=post button | |||
|query string=FestivalTemporaryFacility[festival_id]={{PAGEID}}&FestivalTemporaryFacility[year]={{LOCALYEAR}} | |||
}} | }} | ||
</div> | </div> | ||
| 383行目: | 393行目: | ||
<div class="festival-stall-panel-description"> | <div class="festival-stall-panel-description"> | ||
地図上のピンを選ぶと、屋台の場所や商品情報に加えて、ごみ箱・仮設トイレ・救護所などの臨時設備の場所も確認できます。 | |||
</div> | </div> | ||
| 397行目: | 407行目: | ||
|format=template | |format=template | ||
|template=FestivalStallMapMarker | |template=FestivalStallMapMarker | ||
|named args=yes | |||
|delimiter=; | |||
|more results text= | |||
}} | |||
; | |||
{{#cargo_query: | |||
tables=FestivalTemporaryFacilities=T | |||
|fields=T.facility_id=facility_id,T._pageName=page_name,T.facility_type=facility_type,T.label=label,T.latitude=latitude,T.longitude=longitude,T.location_note=location_note,T.position_status=position_status,T.verification_status=verification_status,T.status=status | |||
|where=T.festival_id={{PAGEID}} AND T.year={{LOCALYEAR}} | |||
|order by=T.sort_order ASC,T.facility_id ASC | |||
|format=template | |||
|template=FestivalTemporaryFacilityMapMarker | |||
|named args=yes | |named args=yes | ||
|delimiter=; | |delimiter=; | ||