mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Create tagging system (#792)
* Repro * Fix * Update signage * Create tagging system * Add tags to transaction imports * Build tagging UI * Cleanup * More cleanup
This commit is contained in:
parent
41c991384a
commit
457247da8e
38 changed files with 607 additions and 90 deletions
|
@ -65,6 +65,7 @@ en:
|
|||
rules_label: Rules
|
||||
security_label: Security
|
||||
self_hosting_label: Self-Hosting
|
||||
tags_label: Tags
|
||||
transactions_section_title: Transactions
|
||||
whats_new_label: What's New
|
||||
nav_link_large:
|
||||
|
|
33
config/locales/views/tags/en.yml
Normal file
33
config/locales/views/tags/en.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
en:
|
||||
tags:
|
||||
create:
|
||||
created: Tag created
|
||||
deletions:
|
||||
create:
|
||||
deleted: Tag deleted
|
||||
new:
|
||||
delete_and_leave_uncategorized: Delete "%{tag_name}"
|
||||
delete_and_recategorize: Delete "%{tag_name}" and assign new tag
|
||||
delete_tag: Delete tag?
|
||||
explanation: "%{tag_name} will be removed from transactions and other taggable
|
||||
entities. Instead of leaving them untagged, you can also assign a new tag
|
||||
below."
|
||||
replacement_tag_prompt: Select tag
|
||||
tag: Tag
|
||||
edit:
|
||||
edit: Edit tag
|
||||
form:
|
||||
create: Create tag
|
||||
update: Update
|
||||
index:
|
||||
empty: No tags yet
|
||||
new: New tag
|
||||
tags: Tags
|
||||
new:
|
||||
new: New tag
|
||||
tag:
|
||||
delete: Delete
|
||||
edit: Edit
|
||||
update:
|
||||
updated: Tag updated
|
|
@ -37,6 +37,10 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
resources :tags, except: %i[ show destroy ] do
|
||||
resources :deletions, only: %i[ new create ], module: :tags
|
||||
end
|
||||
|
||||
resources :transactions do
|
||||
collection do
|
||||
match "search" => "transactions#search", via: %i[ get post ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue