Giter Site home page Giter Site logo

isi-chef's Introduction

isi-chef

e-Chef project for ISI course.

isi-chef's People

Contributors

aburghelea avatar razvanlapadus avatar irinabocearov avatar radustoenescu avatar razvan1923 avatar

Watchers

 avatar  avatar  avatar

isi-chef's Issues

Eliminare mesaje harcodate in controllere.

In controlere exista apeluri de genul

message(code: 'order.delivered.message', args: [params.orderId])

trebuie sa verifici ca in messages.properties exista o linkie care are inainte de egal
codul cal specificat in apelul de functie.
Daca apulul lui message are si args aia sunt marcati ca {0}, {1} in mesajul din messages.properties.

Exemplu de mai jos ar fi in bundle in felul urmator:

order.delivered.message = The order with the id {0} was delivered.

In cazul in care nu exista o astfel de cheie in messages.properties trebuie introdusa.
Alege mesaje cat mai sugestive te rog.

Creare ecran cu nota de plata pentru o masa.

Avem nevoie de un ecran (.gsp) care sa afiseze o nota de plata

As vrea sa arate cam asa

Trebuie practic 2 fisiere gsp. unul nota.gsp si unul _nota.gsp. Ca sa va faceti idee cine ce include
vedeti comanda\show.gsp si comanda_show.gsp . _show.gsp se numeste template si se foloseste in felul urmator

<g:render template="show" model="[comandaInstance: comandaInstance]"/>

Mai trebuie adaugata si o metoda in controller care sa ofere datele necesare din baza de date.

Este foarte important ca tot markup-ul sa fie in _nota.gsp pentru ca il voi folosi ulterior la generarea de pdf-uri.

Conversie stringuri in i18n (message.properties)

Sa se verifice toate fisierele gsp (mai putin cele din folderul comanda) si toate stringurile sa fie mutate in message.properties.
si sa se foloseasca asupra lor ori gatul <g:message code ="..." default="..."> ori "${message(code: '...', default:'...')}".
Exista situatia in care in gsp se gaseste un deja tagul g:message dar in bundle nu exista nici o proprietate cu cod-ul respectiv (in IDEA apare cod-ul cu rosu in cazul asta). In acest caz proprietatile trebuie create.

Implementare login

Implementare de login si logout in aplicatie.
(Poti sa te uiti in proiectul de la hackaton)

Generare PDF-uri

Documentare de solutie/plugin de generare a pdf-urilor pentru meniuri (eventual si un demo basic)

Traducere mesaje din messages.properties

Depinde de Issue 8. Trebuie sa il faci pe ala intai.

Trebuie sa te asiguri ca in message.properties toate mesajele sunt in engleza, si sa corectezi unde e nevoie.

Sa duplici message.properties in message_ro.properties si sa traduci mesajele in romana. Ce e inainte de egal(cheile) trebuie sa ramana la fel.

Pagina de about.

Sa se traduca si personalizeze pagina de about
Dreapta Sus -> Info -> About

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.