mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Delete items by introducing a deleted state
When deleting items via the http api, they are not deleted anymore but a new status "Deleted" is set. The collective insights contains now a count separately for deleted items.
This commit is contained in:
@ -15,6 +15,7 @@ module Messages.Basics exposing
|
||||
type alias Texts =
|
||||
{ incoming : String
|
||||
, outgoing : String
|
||||
, deleted : String
|
||||
, tags : String
|
||||
, items : String
|
||||
, submit : String
|
||||
@ -51,6 +52,7 @@ gb : Texts
|
||||
gb =
|
||||
{ incoming = "Incoming"
|
||||
, outgoing = "Outgoing"
|
||||
, deleted = "Deleted"
|
||||
, tags = "Tags"
|
||||
, items = "Items"
|
||||
, submit = "Submit"
|
||||
@ -92,6 +94,7 @@ de : Texts
|
||||
de =
|
||||
{ incoming = "Eingehend"
|
||||
, outgoing = "Ausgehend"
|
||||
, deleted = "Gelöscht"
|
||||
, tags = "Tags"
|
||||
, items = "Dokumente"
|
||||
, submit = "Speichern"
|
||||
|
@ -171,6 +171,7 @@ viewInsights texts flags model =
|
||||
[ stats (String.fromInt (model.insights.incomingCount + model.insights.outgoingCount)) texts.basics.items
|
||||
, stats (String.fromInt model.insights.incomingCount) texts.basics.incoming
|
||||
, stats (String.fromInt model.insights.outgoingCount) texts.basics.outgoing
|
||||
, stats (String.fromInt model.insights.deletedCount) texts.basics.deleted
|
||||
]
|
||||
]
|
||||
, div
|
||||
|
Reference in New Issue
Block a user