mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
Account namespace updates: part 4 (transfers, singular namespacing) (#896)
* Move Transfer to Account namespace * Fix partial resolution due to namespacing plurality * Make category and tag controllers consistent with namespacing convention * Update stale partial reference
This commit is contained in:
parent
dc3147c101
commit
bddaab0192
50 changed files with 227 additions and 127 deletions
21
app/views/account/logos/show.svg.erb
Normal file
21
app/views/account/logos/show.svg.erb
Normal file
|
@ -0,0 +1,21 @@
|
|||
<svg
|
||||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 32 32"
|
||||
aria-hidden="true">
|
||||
<g>
|
||||
<rect width="100%" height="100%" rx="50%" fill="<%= accountable_color(@account.accountable_type) %>" opacity="0.1" />
|
||||
<text
|
||||
x="50%"
|
||||
y="50%"
|
||||
fill="<%= accountable_color(@account.accountable_type) %>"
|
||||
text-anchor="middle"
|
||||
dy="0.35em"
|
||||
font-family="ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji"
|
||||
font-size="16"
|
||||
font-weight="400">
|
||||
<%= @account.name[0].upcase %>
|
||||
</text>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 653 B |
Loading…
Add table
Add a link
Reference in a new issue