mirror of
https://github.com/documize/community.git
synced 2025-07-18 20:59:43 +02:00
Build prep
This commit is contained in:
parent
d4edcb8b2c
commit
6882491201
4 changed files with 1068 additions and 1068 deletions
|
@ -40,13 +40,15 @@ func main() {
|
|||
// Specify the product edition.
|
||||
rt.Product = domain.Product{}
|
||||
rt.Product.Major = "3"
|
||||
rt.Product.Minor = "4"
|
||||
rt.Product.Patch = "3"
|
||||
rt.Product.Revision = "191114171637"
|
||||
rt.Product.Minor = "5"
|
||||
rt.Product.Patch = "0"
|
||||
rt.Product.Revision = "191115164251"
|
||||
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||
rt.Product.Edition = domain.CommunityEdition
|
||||
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
||||
|
||||
rt.Log.Info(fmt.Sprintf("Product: %s version %s (build %s)", rt.Product.Title, rt.Product.Version, rt.Product.Revision))
|
||||
|
||||
// Setup data store.
|
||||
s := store.Store{}
|
||||
|
||||
|
|
2124
embed/bindata.go
2124
embed/bindata.go
File diff suppressed because one or more lines are too long
|
@ -61,7 +61,7 @@
|
|||
<div class="form-group">
|
||||
<label>Default</label>
|
||||
{{x-toggle value=editDefault size="medium" theme="light" onToggle=(action (mut editDefault))}}
|
||||
<small class="form-text text-muted">Automatically aplies to newly created documents</small>
|
||||
<small class="form-text text-muted">Automatically applies to newly created documents</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
|
@ -31,8 +31,6 @@ var testHost string // used during automated testing
|
|||
|
||||
// Start router to handle all HTTP traffic.
|
||||
func Start(rt *env.Runtime, s *store.Store, ready chan struct{}) {
|
||||
rt.Log.Info(fmt.Sprintf("Product: %s version %s (build %s)", rt.Product.Title, rt.Product.Version, rt.Product.Revision))
|
||||
|
||||
// decide which mode to serve up
|
||||
switch rt.Flags.SiteMode {
|
||||
case env.SiteModeOffline:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue