Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [wpv-layout-start]
- [wpv-items-found]
- <!-- wpv-loop-start -->
- <wpv-loop>
- <div class="row">
- <div class="col-sm-12">
- <div class="container-fluid">
- <div class="panel-group">
- <div class="panel-heading">
- <span>
- <a style="color:black;font-weight:400;" data-toggle="collapse" href="#[wpv-post-slug]">
- <!--======== PRIMA RIGA ========-->
- <div class="row">
- <div class="col-xs-1"><p>[types field='route-position' format='FIELD_VALUE'][/types]</p></div>
- <div class="col-xs-2 sector-icons">[wpv-view name="route-quick-details-2"]</div>
- <div class="col-xs-3"><p>[wpv-post-title output="sanitize"]</p></div>
- <div class="col-xs-2"><p style="float:right">[types field='grade'][/types]</p></div>
- <div class="col-xs-2"><p style="float:right">[types field='height'][/types] m</p></div>
- <div class="col-xs-2"><a href="[wpv-post-url]"><img src="https://climbingsardinia.com/topos/icons/plus.png" alt="View Route or Add Performance" title="Add your performance"width="20px;" style="float:right" /></a></div>
- </div>
- </a>
- </span>
- </div>
- <div id="[wpv-post-slug]" class="panel-collapse collapse" style="padding:0 10px;">
- <!--======== RIGA ICONE ========-->
- <div class="row" style="padding:10px 0;">
- <div class="col-xs-3 sector-icons center">[types field='danger'][/types]</div>
- <div class="col-xs-6 smallfont center"><img style="max-width:30px;" src="https://climbingitaly.com/icons/[wpv-conditional if="( $(wpcf-climbing-type) eq '1' )"]bolted.png" alt="Sport climbing"/>SPORT route[/wpv-conditional][wpv-conditional if="( $(wpcf-climbing-type) eq '2' )"]trad.png" />TRAD route[/wpv-conditional][wpv-conditional if="( $(wpcf-climbing-type) eq '3' )"]bolted.png" alt="Bolted multi-pitch"/>Multi-pitch BOLTED[/wpv-conditional][wpv-conditional if="( $(wpcf-climbing-type) eq '4' )"]trad.png" />Multi-pitch TRAD[/wpv-conditional][wpv-conditional if="( $(wpcf-climbing-type) eq '5' )"]boulder.png" />Boulder[/wpv-conditional][wpv-conditional if="( $(wpcf-climbing-type) eq '6' )"]DWS.png" />DWS[/wpv-conditional][wpv-conditional if="( $(wpcf-climbing-type) eq '7' )"]mixed.png" />Multi-pitch PARTIALLY BOLTED[/wpv-conditional]</div>
- <div class="col-xs-3 center">[wpv-view name="my-route-favourite-icon"]</div>
- </div>
- <!--======== RIGA DETTAGLI ========-->
- [wpv-conditional if="( $(wpcf-bolter-s) eq '' ) AND ( $(wpcf-year-bolted) eq '' ) AND ( $(wpcf-year-re-bolted) eq '' ) AND ( $(wpcf-equipment-used) eq '' )" evaluate="false"]<div class="row dash">
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Created by</p><b>[types field='bolter-s'][/types]</b></div>
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Year</p><b>[types field='year-bolted'][/types]</b></div>
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Last re-bolted</p><b>[types field='year-re-bolted'][/types]</b></div>
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Equipment</p><b>[types field='equipment-used'][/types]</b></div>
- </div>
- [/wpv-conditional]
- <!--======== RIGA MULTI-PITCH ========-->
- [wpv-conditional if="( $(wpcf-climbing-type) eq '3' ) OR ( $(wpcf-climbing-type) eq '4' ) OR ( $(wpcf-climbing-type) eq '7' )"]<div class="row dash">
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Obligatory</p><b>[types field='oblig-grade'][/types]</b></div>
- <div class="col-xs-3 smallfont center"><p style="color:grey;">n. of pitches</p><b>[types field='n-pitches' output='raw'][/types]</b></div>
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Pitches grades</p><b>[types field='pitches-grades'][/types]</b></div>
- <div class="col-xs-3 smallfont center"><p style="color:grey;">Pitches lenght</p><b>[types field='pitches-length'][/types]</b></div>
- </div>[/wpv-conditional]
- <!--======== RIGA NOTE ========-->
- [wpv-conditional if="( $(wpcf-notes) ne '' )"]
- <div class="row dash">
- <div class="col-xs-12 note"> <b>NOTE:</b> [types field='notes'][/types]</div>
- </div>
- [/wpv-conditional]
- <!--======== PREVIOUS ASCENTS ========-->
- [wpv-view name="other-climbers-ascents-quick-view"]
- <!--======== ULTIMA RIGA PER GLI EDITORI ========-->
- [wpv-conditional if="( '[wpv-current-user info='role']' eq 'administrator' ) OR ( '[wpv-current-user info='role']' eq 'editor' ) OR ( '[wpv-current-user info='role']' eq 'author' )"]
- <div class="row dash" id="add-edit-note" style="padding: 0 10px; border-top: 1px dashed lightgray;">
- <div class="col-xs-4 smallfont center">
- <p><a class="cred-edit-post" href="/route/[wpv-post-slug]/?layout_id=4847" target="_blank">Add/Edit note</a></p>
- </div>
- <div class="col-xs-4 smallfont center">
- <p><a class="cred-edit-post" href="/route/[wpv-post-slug]/?layout_id=4048" target="_blank">Edit route</a></p>
- </div>
- <div class="col-xs-4 smallfont center">[cred_delete_post_link action="trash" text="Delete" class='cred-refresh-after-delete' message_after="Post deleted" message="Are you sure you want to delete this post?" message_show="1"]</div>
- </div>
- [/wpv-conditional]
- </div>
- </div>
- </div>
- <hr id="routes-separ" />
- </div>
- </div>
- </wpv-loop>
- <!-- wpv-loop-end -->
- [/wpv-items-found]
- [wpv-no-items-found]
- <strong>[wpml-string context="wpv-views"]It's a bit weird... but there's no routes on this sector[/wpml-string]</strong>
- [/wpv-no-items-found]
- [wpv-layout-end]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement