diff options
author | Joris | 2016-06-04 10:04:05 +0200 |
---|---|---|
committer | Joris | 2016-06-04 10:04:05 +0200 |
commit | 9dfa7a7e2c6fac564a456b11623c04d0b26fbce5 (patch) | |
tree | dfde96063dac54be4cfbadf8715c7e8b844457cc /src/client/elm/LoggedIn/Home/View/Monthly.elm | |
parent | 6ebd46c4913695210bd46179817bcc166a225ed8 (diff) |
Add search on payments and use inline font awesome from elm
Diffstat (limited to 'src/client/elm/LoggedIn/Home/View/Monthly.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Home/View/Monthly.elm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/elm/LoggedIn/Home/View/Monthly.elm b/src/client/elm/LoggedIn/Home/View/Monthly.elm index 26dbe98..398059c 100644 --- a/src/client/elm/LoggedIn/Home/View/Monthly.elm +++ b/src/client/elm/LoggedIn/Home/View/Monthly.elm @@ -3,6 +3,9 @@ module LoggedIn.Home.View.Monthly exposing ) import String +import Color + +import FontAwesome import Html exposing (..) import Html.Attributes exposing (..) @@ -21,8 +24,6 @@ import Model.Payment as Payment exposing (Payments, Payment, monthly) import Model.Translations exposing (getMessage, getParamMessage) import LoggedData exposing (LoggedData) -import View.Icon exposing (renderIcon) - view : LoggedData -> HomeModel.Model -> Html Msg view loggedData homeModel = let monthlyPayments = Payment.monthly loggedData.me loggedData.payments @@ -85,6 +86,8 @@ paymentLine loggedData homeModel payment = [ class "cell delete" , onClick (Msg.UpdateLoggedIn <| LoggedInMsg.DeletePayment payment.id) ] - [ button [] [ renderIcon "times" ] + [ button + [] + [ FontAwesome.times Color.white 20 ] ] ] |