                                         (do
                                           (init-data state)))
                      :error-handler   (fn [{:keys [status status-text]}]
-                                        (.log js/console (str status " " status-text))
-                                        )})} (t :social/Decline)])
+                                        (.log js/console (str status " " status-text)
+                                         (t :social/Decline)))})}])
 
 
 
 
 (defn pending-user-connections [state users visible-area-atom]
-  (let [panel-identity :pending]
-    [:div.panel
+  (let [panel-identity :pending
+        icon-class (if (= @visible-area-atom panel-identity) "fa-chevron-circle-down" "fa-chevron-circle-right")]
+    [:div.panel.expandable-block
      [:div.panel-heading
-      [:a {:href "#" :on-click #(do (.preventDefault %) (reset! visible-area-atom panel-identity))}
+      [:a {:href "#" :on-click #(do (.preventDefault %) (toggle-panel panel-identity visible-area-atom))}
        [:h3
-        (str (t :social/Followersusers) " (" (count users) ")")]]]
+        (str (t :social/Followersusers) " (" (count users) ")")]
+       [:i.fa.fa-lg.panel-status-icon {:class icon-class}]]]
      (when (= panel-identity @visible-area-atom)
        [:div.panel-body
         [:table {:class "table" :summary (t :badge/Badgeviews)}

                                              (mo/open-modal [:profile :view] {:user-id user_id})
                                              ;(b/open-modal id false init-data state)
                                              (.preventDefault %)) } (str first_name " " last_name)]]
                  [:td.action  (if (= "accepted" status) (deleteconnect user_id state)  (str (t :social/Pending) "..."))]]))]]
       )]))


(defn accept [owner-id state]

                                              (.preventDefault %)) } (str first_name " " last_name)]]
                  (if (= "pending" status)
                    [:td.action (accept owner_id state) " " (decline owner_id state)]
                    [:td.action  (str(t :social/Follows)  " ")])]))]])]))



