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.250 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.249 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.248 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.247 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.246 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.244 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.243 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.242 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.241 app/views/ishapi/markers/_card.haml