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.316 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.315 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.314 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.313 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.312 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.310 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.309 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.308 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.307 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.306 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.305 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.304 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.303 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.302 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.301 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.300 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.298 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.297 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.296 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.295 app/views/ishapi/markers/_card.haml