Skip to content

Commit

Permalink
Move Brand under Business
Browse files Browse the repository at this point in the history
  • Loading branch information
ciukstar committed Nov 10, 2023
1 parent 1e1cf17 commit da13be9
Show file tree
Hide file tree
Showing 38 changed files with 639 additions and 510 deletions.
2 changes: 2 additions & 0 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ La page « À propos de nous » est personnalisable depuis l'onglet [« À propo

La page « Contacts » est personnalisable depuis l'onglet [« Contactez-nous »](https://salonfr-w3cpovaqka-de.a.run.app/admin/contact/business/1) du menu [« Entreprise »](https://salonfr-w3cpovaqka-de.a.run.app/admin/business) du groupe « Données ».

La page [« Accueil »](https://salon-w3cpovaqka-de.a.run.app) est personnalisable depuis l'onglet [« Marque »](https://salon-w3cpovaqka-de.a.run.app/admin/business/1/brand) du menu [« Entreprise »](https://salon-w3cpovaqka-de.a.run.app/admin/business) du groupe « Données ».

Actuellement, l'application ne prend en charge qu'une seule entreprise. Un support multi-métiers est prévu pour les futures versions de l'application.

## Utilisateur
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ The "About Us" page can be customized from the ["About Us"](https://salon-w3cpov

The "Contacts" page can be customized from the ["Contact Us"](https://salon-w3cpovaqka-de.a.run.app/admin/contact/business/1) tab in the menu ["Business"](https://salon-w3cpovaqka-de.a.run.app/admin/business) in the group "Data".

The [“Home”](https://salon-w3cpovaqka-de.a.run.app) page is customizable from the [“Brand”](https://salon-w3cpovaqka-de.a.run.app/admin/business/1/brand) tab of the [“Business”](https://salon-w3cpovaqka-de.a.run.app/admin/business) menu in the “Data” group.

Currently, the app only supports one business. Multi-business support is planned for future versions of the application.

## User
Expand Down
2 changes: 2 additions & 0 deletions README.ro.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Pagina „Despre noi” poate fi personalizată din fila [„Despre noi”](http

Pagina „Contacte” poate fi personalizată din fila [„Contactați-ne”](https://salonro-w3cpovaqka-de.a.run.app/admin/contact/business/1) din meniul [„Afacere”](https://salonro-w3cpovaqka-de.a.run.app/admin/business) din grupul „Date”.

Pagina [„Acasă”](https://salon-w3cpovaqka-de.a.run.app) este personalizabilă din fila [„Marca”](https://salon-w3cpovaqka-de.a.run.app/admin/business/1/brand) din meniul [„Afacere”](https://salon-w3cpovaqka-de.a.run.app/admin/business) din grupul „Date”.

În prezent, aplicația acceptă o singură afacere. Asistența multi-business este planificată pentru versiunile viitoare ale aplicației.

## Utilizator
Expand Down
2 changes: 2 additions & 0 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

Страницу «Контакты» можно настроить на вкладке [«Контакты»](https://salonru-w3cpovaqka-de.a.run.app/admin/contact/business/1) в меню [«Бизнес»](https://salonru-w3cpovaqka-de.a.run.app/admin/business) в группе «Данные».

[«Главная»](https://salon-w3cpovaqka-de.a.run.app) страница настраивается на вкладке [«Бренд»](https://salon-w3cpovaqka-de.a.run.app/admin/business/1/brand) меню [«Организация»](https://salon-w3cpovaqka-de.a.run.app/admin/business) в группе «Данные».

В настоящее время приложение поддерживает только один бизнес. Поддержка нескольких организаций планируется в будущих версиях приложения.

## Пользователь
Expand Down
1 change: 1 addition & 0 deletions config/models.persistentmodels
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ User
deriving Typeable

Brand
business BusinessId OnDeleteCascade
mark ByteString Maybe
markMime Text Maybe
markWidth Text Maybe
Expand Down
14 changes: 7 additions & 7 deletions config/routes.yesodroutes
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
/aov StatsAovR GET

/admin AdminR:

/delete/contact/business/#BusinessId/#ContactUsId BusinessContactDeleteR POST
/form/contact/business/#BusinessId/#ContactUsId BusinessContactEditR GET POST
/form/contact/business/#BusinessId BusinessContactCreateR GET
Expand All @@ -86,12 +86,12 @@
/business/create BusinessCreateR GET
/business BusinessR GET POST

/brand/#BrandId/ico BrandIcoR GET
/brand/#BrandId/mark BrandMarkR GET
/brand/delete BrandDeleteR POST
/brand/#BrandId/edit BrandEditR GET POST
/brand/create BrandCreateR GET
/brand BrandR GET POST
/business/#BusinessId/brand/#BrandId/ico BrandIcoR GET
/business/#BusinessId/brand/#BrandId/mark BrandMarkR GET
/business/#BusinessId/brand/#BrandId/delete BrandDeleteR POST
/business/#BusinessId/brand/#BrandId/edit BrandEditR GET POST
/business/#BusinessId/brand/create BrandCreateR GET
/business/#BusinessId/brand BrandR GET POST


/delete/experts/#RoleId/+Services AdmExpertDeleteR POST
Expand Down
4 changes: 4 additions & 0 deletions messages/en.msg
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ Doc0065 hrefContactUs@Text hrefBusiness@Text: The "Contacts" page can be customi

Doc0066 hrefBusiness@Text: The "Contacts" page can be customized from the "Contact Us" tab in the menu <a href=#{hrefBusiness}>"Business"</a> in the group "Data".

Doc0067 hrefHome@Text hrefBrand@Text hrefBusiness@Text: The <a href=#{hrefHome}>“Home”</a> page is customizable from the <a href=#{hrefBrand}>“Brand”</a> tab of the <a href=#{hrefBusiness}>“Business”</a> menu in the “Data” group.

Doc0068 hrefHome@Text hrefBusiness@Text: The <a href=#{hrefHome}>“Home”</a> page is customizable from the “Brand” tab of the <a href=#{hrefBusiness}>“Business”</a> menu in the “Data” group.

Doc007: Currently, the app only supports one business. Multi-business support is planned for future versions of the application.

Doc008 href@Text: Application users, including clients, employees and administrators, can be registered through the <a href=#{href}>"Registration"</a> form.
Expand Down
4 changes: 4 additions & 0 deletions messages/fr.msg
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ Doc0065 hrefContactUs hrefBusiness: La page « Contacts » est personnalisable d

Doc0066 hrefBusiness: La page « Contacts » est personnalisable depuis l'onglet « Contactez-nous » du menu <a href=#{hrefBusiness}>« Entreprise »</a> du groupe « Données ».

Doc0067 hrefHome hrefBrand hrefBusiness: La page <a href=#{hrefHome}>« Accueil »</a> est personnalisable depuis l'onglet <a href=#{hrefBrand}>« Marque »</a> du menu <a href=#{hrefBusiness}>« Entreprise »</a> du groupe « Données ».

Doc0068 hrefHome hrefBusiness: La page <a href=#{hrefHome}>« Accueil »</a> est personnalisable depuis l'onglet « Marque » du menu <a href=#{hrefBusiness}>« Entreprise »</a> du groupe « Données ».

Doc007: Actuellement, l'application ne prend en charge qu'une seule entreprise. Un support multi-métiers est prévu pour les futures versions de l'application.

Doc008 href: Les utilisateurs de l'application, y compris les clients, les employés et les administrateurs, peuvent être enregistrés via le formulaire <a href=#{href}>« Inscription »</a>.
Expand Down
4 changes: 4 additions & 0 deletions messages/ro.msg
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ Doc0065 hrefContactUs hrefBusiness: Pagina „Contacte” poate fi personalizat

Doc0066 hrefBusiness: Pagina „Contacte” poate fi personalizată din fila „Contactați-ne” din meniul <a href=#{hrefBusiness}>„Afacere”</a> din grupul „Date”.

Doc0067 hrefHome hrefBrand hrefBusiness: Pagina <a href=#{hrefHome}>„Acasă”</a> este personalizabilă din fila <a href=#{hrefBrand}>„Marca”</a> din meniul <a href=#{hrefBusiness}>„Afacere”</a> din grupul „Date”.

Doc0068 hrefHome hrefBusiness: Pagina <a href=#{hrefHome}>„Acasă”</a> este personalizabilă din fila „Marca” din meniul <a href=#{hrefBusiness}>„Afacere”</a> din grupul „Date”.

Doc007: În prezent, aplicația acceptă o singură afacere. Asistența multi-business este planificată pentru versiunile viitoare ale aplicației.

Doc008 href: Utilizatorii aplicației, inclusiv clienți, angajați și administratori, pot fi înregistrați prin intermediul formularului <a href=#{href}>„Înregistrare”</a>.
Expand Down
12 changes: 8 additions & 4 deletions messages/ru.msg
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,17 @@ Doc0061 hrefSchedule hrefBusiness: Дополнительно в разделе

Doc0062 hrefBusiness: Дополнительно в разделе «Организация» на вкладке «График» можно добавить график работы организации на каждый день.

Doc0063 hrefAboutUs hrefBusiness: Страницу «О нас» можно настроить на вкладке <a href=#{hrefAboutUs}>«О нас»</a> в меню <a href=#{hrefBusiness}>«Бизнес»</a> в группе «Данные».
Doc0063 hrefAboutUs hrefBusiness: Страницу «О нас» можно настроить на вкладке <a href=#{hrefAboutUs}>«О нас»</a> в меню <a href=#{hrefBusiness}>«Организация»</a> в группе «Данные».

Doc0064 hrefBusiness: Страницу «О нас» можно настроить на вкладке «О нас» в меню <a href=#{hrefBusiness}>«Бизнес»</a> в группе «Данные».
Doc0064 hrefBusiness: Страницу «О нас» можно настроить на вкладке «О нас» в меню <a href=#{hrefBusiness}>«Организация»</a> в группе «Данные».

Doc0065 hrefContactUs hrefBusiness: Страницу «Контакты» можно настроить на вкладке <a href=#{hrefContactUs}>«Контакты»</a> в меню <a href=#{hrefBusiness}>«Бизнес»</a> в группе «Данные».
Doc0065 hrefContactUs hrefBusiness: Страницу «Контакты» можно настроить на вкладке <a href=#{hrefContactUs}>«Контакты»</a> в меню <a href=#{hrefBusiness}>«Организация»</a> в группе «Данные».

Doc0066 hrefBusiness: Страницу «Контакты» можно настроить на вкладке «Контакты» в меню <a href=#{hrefBusiness}>«Бизнес»</a> в группе «Данные».
Doc0066 hrefBusiness: Страницу «Контакты» можно настроить на вкладке «Контакты» в меню <a href=#{hrefBusiness}>«Организация»</a> в группе «Данные».

Doc0067 hrefHome hrefBrand hrefBusiness: <a href=#{hrefHome}>«Главная»</a> страница настраивается на вкладке <a href=#{hrefBrand}>«Бренд»</a> меню <a href=#{hrefBusiness}>«Организация»</a> в группе «Данные».

Doc0068 hrefHome hrefBusiness: <a href=#{hrefHome}>«Главная»</a> страница настраивается на вкладке «Бренд» меню <a href=#{hrefBusiness}>«Организация»</a> в группе «Данные».

Doc007: В настоящее время приложение поддерживает только один бизнес. Поддержка нескольких организаций планируется в будущих версиях приложения.

Expand Down
232 changes: 0 additions & 232 deletions src/Admin/Brand.hs

This file was deleted.

Loading

0 comments on commit da13be9

Please sign in to comment.