                "You can stop these any time from your "
                [:a {:href "/account"} "account settings"]
                "."]
-              (forms/managed-button
-                [:button.btn.btn-warning {:on-click #(raise! owner [:unfollowed-project {:vcs-url vcs-url
-                                                                                         :project-id project-id}])
-                                          :data-loading-text "Unfollowing..."}
-                 "Unfollow"])
+              (button/managed-button
+               {:on-click #(raise! owner [:unfollowed-project {:vcs-url vcs-url :project-id project-id}])
+                :loading-text "Unfollowing..."
+                :primary? true}
+               "Unfollow")
                " "
                (forms/managed-button
                  [:button.btn.btn-danger {:on-click #(raise! owner [:stopped-building-project {:vcs-url vcs-url


(defn clear-cache-button
  [cache-type project-data owner]
  (forms/managed-button
    [:button.btn.btn-primary
     {:data-loading-text "Clearing cache..."
      :data-success-text "Cleared"
      :data-failure-text "Clearing failed"
      :on-click #(raise! owner
                         [:clear-cache
                          {:type cache-type
                           :project-id (-> project-data
                                           :project
                                           project-model/id)}])}
     (case cache-type
       "build" "Clear Dependency Cache"
       "source" "Clear Source Cache")]))

(defn clear-caches
  [project-data owner]

          [:span " has no "]
          [:span.highlight "Apple Code Signing Identities"]
          [:span "  yet"]]
         (button/button {:on-click add-key :primary? true} "Upload Key")
         [:div.sub-info "Apple Code Signing requires a valid Code Signing Identity (p12) file"]]))))


