mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	feat: update organization icons (#2668)
* front: update filters icons * remove duplicate --------- Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
		| @@ -24,7 +24,7 @@ | |||||||
|             :items="categories" |             :items="categories" | ||||||
|           > |           > | ||||||
|             <v-icon left> |             <v-icon left> | ||||||
|               {{ $globals.icons.tags }} |               {{ $globals.icons.categories }} | ||||||
|             </v-icon> |             </v-icon> | ||||||
|             {{ $t("category.categories") }} |             {{ $t("category.categories") }} | ||||||
|           </SearchFilter> |           </SearchFilter> | ||||||
| @@ -40,7 +40,7 @@ | |||||||
|           <!-- Tool Filter --> |           <!-- Tool Filter --> | ||||||
|           <SearchFilter v-if="tools" v-model="selectedTools" :require-all.sync="state.requireAllTools" :items="tools"> |           <SearchFilter v-if="tools" v-model="selectedTools" :require-all.sync="state.requireAllTools" :items="tools"> | ||||||
|             <v-icon left> |             <v-icon left> | ||||||
|               {{ $globals.icons.tools }} |               {{ $globals.icons.potSteam }} | ||||||
|             </v-icon> |             </v-icon> | ||||||
|             {{ $t("tool.tools") }} |             {{ $t("tool.tools") }} | ||||||
|           </SearchFilter> |           </SearchFilter> | ||||||
|   | |||||||
| @@ -4,7 +4,9 @@ | |||||||
|       <v-card> |       <v-card> | ||||||
|         <v-app-bar dense dark color="primary mb-2"> |         <v-app-bar dense dark color="primary mb-2"> | ||||||
|           <v-icon large left class="mt-1"> |           <v-icon large left class="mt-1"> | ||||||
|             {{ itemType === Organizer.Tool ? $globals.icons.potSteam : $globals.icons.tags }} |             {{ itemType === Organizer.Tool ? $globals.icons.potSteam : | ||||||
|  |               itemType === Organizer.Category ? $globals.icons.categories : | ||||||
|  |               $globals.icons.tags }} | ||||||
|           </v-icon> |           </v-icon> | ||||||
|  |  | ||||||
|           <v-toolbar-title class="headline"> |           <v-toolbar-title class="headline"> | ||||||
|   | |||||||
| @@ -8,7 +8,9 @@ | |||||||
|     deletable-chips |     deletable-chips | ||||||
|     item-text="name" |     item-text="name" | ||||||
|     multiple |     multiple | ||||||
|     :prepend-inner-icon="selectorType === Organizer.Tool ? $globals.icons.potSteam : $globals.icons.tags" |     :prepend-inner-icon="selectorType === Organizer.Tool ? $globals.icons.potSteam : | ||||||
|  |       selectorType === Organizer.Category ? $globals.icons.categories : | ||||||
|  |       $globals.icons.tags" | ||||||
|     return-object |     return-object | ||||||
|     v-bind="inputAttrs" |     v-bind="inputAttrs" | ||||||
|   > |   > | ||||||
|   | |||||||
| @@ -191,7 +191,7 @@ | |||||||
|           restricted: true, |           restricted: true, | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           icon: $globals.icons.tags, |           icon: $globals.icons.categories, | ||||||
|           to: "/recipes/categories", |           to: "/recipes/categories", | ||||||
|           title: i18n.tc("sidebar.categories"), |           title: i18n.tc("sidebar.categories"), | ||||||
|           restricted: true, |           restricted: true, | ||||||
|   | |||||||
| @@ -10,13 +10,14 @@ import { | |||||||
|   mdiClose, |   mdiClose, | ||||||
|   mdiTagArrowUpOutline, |   mdiTagArrowUpOutline, | ||||||
|   mdiTagMultipleOutline, |   mdiTagMultipleOutline, | ||||||
|  |   mdiShapeOutline, | ||||||
|   mdiBookOutline, |   mdiBookOutline, | ||||||
|   mdiAccountCog, |   mdiAccountCog, | ||||||
|   mdiAccountGroup, |   mdiAccountGroup, | ||||||
|   mdiSlotMachine, |   mdiSlotMachine, | ||||||
|   mdiHome, |   mdiHome, | ||||||
|   mdiMagnify, |   mdiMagnify, | ||||||
|   mdiPotSteam, |   mdiPotSteamOutline, | ||||||
|   mdiTranslate, |   mdiTranslate, | ||||||
|   mdiClockTimeFourOutline, |   mdiClockTimeFourOutline, | ||||||
|   mdiImport, |   mdiImport, | ||||||
| @@ -262,7 +263,7 @@ export const icons = { | |||||||
|   timerPause: mdiTimerPause, |   timerPause: mdiTimerPause, | ||||||
|   timerPlus: mdiTimerPlus, |   timerPlus: mdiTimerPlus, | ||||||
|   tools: mdiTools, |   tools: mdiTools, | ||||||
|   potSteam: mdiPotSteam, |   potSteam: mdiPotSteamOutline, | ||||||
|   translate: mdiTranslate, |   translate: mdiTranslate, | ||||||
|   upload: mdiCloudUpload, |   upload: mdiCloudUpload, | ||||||
|   viewDashboard: mdiViewDashboard, |   viewDashboard: mdiViewDashboard, | ||||||
| @@ -290,6 +291,7 @@ export const icons = { | |||||||
|   // Organization |   // Organization | ||||||
|   tags: mdiTagMultipleOutline, |   tags: mdiTagMultipleOutline, | ||||||
|   tagArrowUp: mdiTagArrowUpOutline, |   tagArrowUp: mdiTagArrowUpOutline, | ||||||
|  |   categories: mdiShapeOutline, | ||||||
|   pages: mdiBookOutline, |   pages: mdiBookOutline, | ||||||
|  |  | ||||||
|   // Admin |   // Admin | ||||||
|   | |||||||
| @@ -223,7 +223,7 @@ export default defineComponent({ | |||||||
|         event: "tag-selected", |         event: "tag-selected", | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         icon: $globals.icons.tags, |         icon: $globals.icons.categories, | ||||||
|         text: i18n.tc("data-pages.recipes.categorize"), |         text: i18n.tc("data-pages.recipes.categorize"), | ||||||
|         event: "categorize-selected", |         event: "categorize-selected", | ||||||
|       }, |       }, | ||||||
| @@ -379,7 +379,7 @@ export default defineComponent({ | |||||||
|  |  | ||||||
|       const icons: Record<MODES, string> = { |       const icons: Record<MODES, string> = { | ||||||
|         [MODES.tag]: $globals.icons.tags, |         [MODES.tag]: $globals.icons.tags, | ||||||
|         [MODES.category]: $globals.icons.tags, |         [MODES.category]: $globals.icons.categories, | ||||||
|         [MODES.export]: $globals.icons.database, |         [MODES.export]: $globals.icons.database, | ||||||
|         [MODES.delete]: $globals.icons.delete, |         [MODES.delete]: $globals.icons.delete, | ||||||
|         [MODES.updateSettings]: $globals.icons.cog, |         [MODES.updateSettings]: $globals.icons.cog, | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
|     <RecipeOrganizerPage |     <RecipeOrganizerPage | ||||||
|       v-if="items" |       v-if="items" | ||||||
|       :items="items" |       :items="items" | ||||||
|       :icon="$globals.icons.tags" |       :icon="$globals.icons.categories" | ||||||
|       item-type="categories" |       item-type="categories" | ||||||
|       @delete="actions.deleteOne" |       @delete="actions.deleteOne" | ||||||
|       @update="actions.updateOne" |       @update="actions.updateOne" | ||||||
|   | |||||||
| @@ -341,7 +341,7 @@ export default defineComponent({ | |||||||
|  |  | ||||||
|     const iconText: { [key: string]: string } = { |     const iconText: { [key: string]: string } = { | ||||||
|       totalUsers: $globals.icons.user, |       totalUsers: $globals.icons.user, | ||||||
|       totalCategories: $globals.icons.tags, |       totalCategories: $globals.icons.categories, | ||||||
|       totalTags: $globals.icons.tags, |       totalTags: $globals.icons.tags, | ||||||
|       totalTools: $globals.icons.potSteam, |       totalTools: $globals.icons.potSteam, | ||||||
|     }; |     }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user