Sha256: f4d11405781624022048736f15143005d4266da5aecb2bdf5d8abbc78f870b1c

Contents?: true

Size: 676 Bytes

Versions: 69

Compression:

Stored size: 676 Bytes

Contents

- destination = marker.destination

.markers--card.Card
  - if destination.premium_tier && !@current_profile&.has_premium_purchase( destination )
    #{marker.name} [purchase]
  - else
    - if marker.url
      #{marker.url} [external]
    - else
      = link_to marker.name, location_path(destination)



-# const goto = (e) => {
-#   e.preventDefault()
-#   if (marker.premium_tier && !marker.is_purchased) {
-#     setItemToUnlock(marker)
-#   } else {
-#     if (marker.url) {
-#       setShowUrl(marker.url) // @TODO: this should be encoded in the (server-side) router eventually. _vp_ 2022-09-11
-#     }
-#     else {
-#       history.push(href)
-#     }
-#   }
-# }

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
ishapi-0.1.8.294 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.293 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.292 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.291 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.290 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.289 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.288 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.287 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.286 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.285 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.284 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.283 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.282 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.281 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.280 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.279 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.278 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.277 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.276 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.275 app/views/ishapi/markers/_card.haml