Skip to content

Commit

Permalink
Disabling pluralizer
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-ambrosio committed Oct 16, 2021
1 parent 1335230 commit 59507a0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/codegen/reactjs/AggregateList.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const ${fns.capitalize(fns.makePlural(aggregate.aggregateName))} = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">${fns.makePlural(aggregate.aggregateName)}</h1>
<h1 className="h2">${aggregate.aggregateName}</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_${aggregate.factoryMethod.name}}>${fns.capitalize(aggregate.factoryMethod.name)}</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Authors = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Authors</h1>
<h1 className="h2">Author</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_withName}>WithName</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Catalogs = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Catalogs</h1>
<h1 className="h2">Catalog</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_create}>Create</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Orders = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Orders</h1>
<h1 className="h2">Order</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_create}>Create</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Orders = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Orders</h1>
<h1 className="h2">Order</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_create}>Create</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Proposals = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Proposals</h1>
<h1 className="h2">Proposal</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_submitFor}>SubmitFor</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Proposals = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Proposals</h1>
<h1 className="h2">Proposal</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_submitFor}>SubmitFor</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Users = () => {
return (
<>
<div className="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 className="h2">Users</h1>
<h1 className="h2">User</h1>
<div className="btn-toolbar mb-2 mb-md-0">
<div className="btn-group me-2">
<button type="button" className="btn btn-sm btn-outline-secondary" onClick={_withName}>WithName</button>
Expand Down

0 comments on commit 59507a0

Please sign in to comment.