diff --git a/web/static/css/theme.css b/web/static/css/theme.css index 099d1fa..e9b308d 100644 --- a/web/static/css/theme.css +++ b/web/static/css/theme.css @@ -52,6 +52,7 @@ img { .photo-modal { max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); + width: auto; } .photo-modal #detailImg { position: relative; diff --git a/web/templates/errors/certification_required.html b/web/templates/errors/certification_required.html index 5bd61f5..5b4dd35 100644 --- a/web/templates/errors/certification_required.html +++ b/web/templates/errors/certification_required.html @@ -32,13 +32,15 @@ {{if .CurrentUser.ProfilePhoto.ID}} {{else}} - + {{end}} Upload a Profile Picture to your account that shows your face - {{if not .CurrentUser.ProfilePhoto.ID}} - - {{end}} + +

+ Click here to upload a new profile picture + +

@@ -48,13 +50,15 @@ {{if .CurrentUser.Certified}} {{else}} - + {{end}} Get certified by uploading a verification selfie - {{if not .CurrentUser.Certified}} - - {{end}} + +

+ Click here to go to the Certification Photo upload page + +

diff --git a/web/templates/photo/certification.html b/web/templates/photo/certification.html index a0888e3..171aab3 100644 --- a/web/templates/photo/certification.html +++ b/web/templates/photo/certification.html @@ -72,7 +72,10 @@ re-approved with a new Certification Photo to be recertified.

- diff --git a/web/templates/photo/gallery.html b/web/templates/photo/gallery.html index f4e9198..93854cb 100644 --- a/web/templates/photo/gallery.html +++ b/web/templates/photo/gallery.html @@ -283,6 +283,47 @@ + + {{if and (not .IsSiteGallery) (eq .CurrentUser.ProfilePhoto.ID 0)}} +
+

+ + Your default profile picture is not set + +

+ Your default profile picture is currently not set to anything, and appears to other members as + the default blue placeholder image. +

+ + + +

+ Having a profile picture set, along with an approved certification photo, + is required to access the social features on {{PrettyTitle}} such as the chat room, forums and member directory. +

+

+
+ {{end}} + {{if eq .FilterWho "friends"}}
diff --git a/web/templates/photo/upload.html b/web/templates/photo/upload.html index 4c12307..5d26800 100644 --- a/web/templates/photo/upload.html +++ b/web/templates/photo/upload.html @@ -78,6 +78,13 @@ {{end}}

+ {{if and (eq .Intent "profile_pic") (ge .PhotoCount .PhotoQuota)}} +

+ You have reached your maximum number of photos. To use one of your existing photos as your profile picture, + please visit your Gallery page, click on the "Edit" button for a photo, + then the button to set it as your profile picture will appear on the Edit page. Remember to click "Save" when done! +

+ {{else}}

You may upload {{SubtractInt .PhotoQuota .PhotoCount}} more photo{{Pluralize (SubtractInt .PhotoQuota .PhotoCount)}}. {{if not .CurrentUser.Certified}} @@ -85,6 +92,7 @@ additional pictures. {{end}}

+ {{end}}
{{end}}