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.274 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.273 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.272 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.271 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.270 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.269 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.268 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.267 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.266 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.265 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.264 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.263 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.262 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.261 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.260 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.259 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.256 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.254 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.253 app/views/ishapi/markers/_card.haml
ishapi-0.1.8.251 app/views/ishapi/markers/_card.haml