Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
GRIN-Global Server
GRIN-Global Server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • GRIN-Global
  • GRIN-Global ServerGRIN-Global Server
  • Issues
  • #119

Closed
Open
Opened Nov 18, 2020 by Matija Obreza@mobrezaOwner
  • Report abuse
  • New issue
Report abuse New issue

Templating service

We have several string templates in GG-CE that need to be filled with data. The most recent example is the filling an email template for user account verification.

Regardless of where the templates are stored, we need one templating system that works both on the server (Java) and can be used on the client (Javascript).

public interface TemplatingService {
  String fillTemplate(String template, Map<String, Object> params);
}
function fillTemplate(template: string, params: Map) {
  //
}

The template syntax will depend on the engine selected.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
1.0
Milestone
1.0
Assign milestone
Time tracking
None
Due date
None
Reference: grin-global/grin-global-server#119