hlfw.ca

webbing

ref: 4d57b475c88f1f43cfa7d94c682f559511adebcc
dir: /wallet.go/

View raw version
package pages

import (
	"github.com/olmaxmedical/router"
	"golang.org/x/text/message"
)

func init() {
	b := &router.Page{
		Access: router.PatientAuth | router.DoctorAuth,
		CSS:    "",
		Path:   "wallet",
		Data:   wallet,
		Extra:  0,
	}
	router.AddPage(b)
}

func wallet(p *message.Printer) map[string]interface{} {
	return map[string]interface{}{
		"title":      p.Sprintf("Olmax Medical | Wallet"),
		"mainHeader": p.Sprintf("Wallet"),
		"funds":      p.Sprintf("0 BTC"),
		"current":    p.Sprintf("NO FUNDS CURRENTLY HELD IN ESCROW"),
		"deposit":    p.Sprintf("Deposit Funds"),
		"onlyHeader": p.Sprintf("Send only Bitcoin (BTC) to this address"),
		"onlyBody":   p.Sprintf("Sending any other digital asset, including Bitcoin Cash (BCH), will result in permanent loss."),
	}
}