summaryrefslogtreecommitdiff
path: root/Omni/Jr/Web.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Jr/Web.hs')
-rw-r--r--Omni/Jr/Web.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Omni/Jr/Web.hs b/Omni/Jr/Web.hs
index befda94..4e55c61 100644
--- a/Omni/Jr/Web.hs
+++ b/Omni/Jr/Web.hs
@@ -1725,11 +1725,11 @@ instance Lucid.ToHtml TaskDetailPage where
renderAttempt totalAttempts (attemptNum, act) = do
when (totalAttempts > 1)
<| Lucid.div_ [Lucid.class_ "attempt-header"] (Lucid.toHtml ("Attempt " <> tshow attemptNum :: Text))
- case TaskCore.activityAmpThreadUrl act of
+ case TaskCore.activityThreadUrl act of
Nothing -> pure ()
Just url ->
Lucid.div_ [Lucid.class_ "metric-row"] <| do
- Lucid.span_ [Lucid.class_ "metric-label"] "Amp Thread:"
+ Lucid.span_ [Lucid.class_ "metric-label"] "Session:"
Lucid.a_ [Lucid.href_ url, Lucid.target_ "_blank", Lucid.class_ "amp-thread-btn"] "View in Amp ↗"
case (TaskCore.activityStartedAt act, TaskCore.activityCompletedAt act) of
@@ -2203,11 +2203,11 @@ instance Lucid.ToHtml TaskMetricsPartial where
renderAttempt totalAttempts currentTime (attemptNum, act) = do
when (totalAttempts > 1)
<| Lucid.div_ [Lucid.class_ "attempt-header"] (Lucid.toHtml ("Attempt " <> tshow attemptNum :: Text))
- case TaskCore.activityAmpThreadUrl act of
+ case TaskCore.activityThreadUrl act of
Nothing -> pure ()
Just url ->
Lucid.div_ [Lucid.class_ "metric-row"] <| do
- Lucid.span_ [Lucid.class_ "metric-label"] "Amp Thread:"
+ Lucid.span_ [Lucid.class_ "metric-label"] "Session:"
Lucid.a_ [Lucid.href_ url, Lucid.target_ "_blank", Lucid.class_ "amp-thread-btn"] "View in Amp ↗"
case (TaskCore.activityStartedAt act, TaskCore.activityCompletedAt act) of