Bunch of work around assigning reports to districts
I added some DB schema to track logos and to relate reports to organizations. I reworked how GPS data comes from EXIF data on images because it wasn't working for JPEGs. I might have broken PNGs in the process. Also made the config options for domain names more standardized.
This commit is contained in:
parent
486a2d98c2
commit
61d8d14fc2
41 changed files with 3029 additions and 337 deletions
|
|
@ -106,10 +106,10 @@ type emailResponse struct {
|
|||
|
||||
func contentEmailSubscriptionConfirmation(report_id string) contentEmailReportConfirmation {
|
||||
return contentEmailReportConfirmation{
|
||||
URLLogo: fmt.Sprintf("https://%s/static/img/nidus-logo-no-lettering-64.png", config.URLReport),
|
||||
URLReportStatus: fmt.Sprintf("https://%s/status/%s", config.URLReport, report_id),
|
||||
URLReportUnsubscribe: fmt.Sprintf("https://%s/report/%s/unsubscribe", config.URLReport, report_id),
|
||||
URLViewInBrowser: fmt.Sprintf("https://%s/email/report/%s/subscription-confirmation", config.URLReport, report_id),
|
||||
URLLogo: config.MakeURLReport("/static/img/nidus-logo-no-lettering-64.png"),
|
||||
URLReportStatus: config.MakeURLReport("/status/%s", report_id),
|
||||
URLReportUnsubscribe: config.MakeURLReport("/report/%s/unsubscribe", report_id),
|
||||
URLViewInBrowser: config.MakeURLReport("/email/report/%s/subscription-confirmation", report_id),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue