                 ;:else
                 "weekly")
               " reminder. You can adjust or turn off reminders in ")
-              [:a {:href profile-url}
+              [:a {:href (profile-url org-slug)}
                 "Carrot"]
               "."]]]]
       (vspacer 16 "" "settings-footer")]]])


(declare reminder-notification-settings-footer)

(defn- email-footer [type]
  [:table {:class "row footer-table"
           :valign "middle"
           :align "center"}
    [:tr
      [:td {:class "small-12 large-12 columns" :valign "middle" :align "center"}
        (when (= type :reminder-notification)
          reminder-notification-settings-footer)
        (vspacer 24 "footer-table" "footer-table")
        [:table {:class "row footer-table"}
          [:tr

(defn reminder-alert-headline [data]
  (str "Hi " (first-name (:assignee (:reminder (:notification data)))) ", it's time to update your team"))

(defn reminder-alert-settings-footer [org-slug frequency]
  [:table {:class "row reminders-footer"
         :valign "middle"
         :align "center"}
