diff --git a/internal/web/equip.go b/internal/web/equip.go index 351b6e9..abe6938 100644 --- a/internal/web/equip.go +++ b/internal/web/equip.go @@ -129,7 +129,7 @@ func (s *Server) handleEquipOrder(w http.ResponseWriter, r *http.Request) { // The web offers the next tier only; a request for anything else is a stale // page or a forged jump. Refuse rather than debit for a tier the owner never // saw priced. - writeEquipError(w, http.StatusConflict, "that upgrade is out of date — reload the page") + writeEquipError(w, http.StatusConflict, "that upgrade is out of date, reload the page") return } itemName, slot, tier = sv.NextName, sv.Slot, sv.NextTier @@ -148,7 +148,7 @@ func (s *Server) handleEquipOrder(w http.ResponseWriter, r *http.Request) { writeEquipError(w, http.StatusInternalServerError, "internal error") return } else if n >= equipBurstMax { - writeEquipError(w, http.StatusTooManyRequests, "slow down — too many changes in a short while") + writeEquipError(w, http.StatusTooManyRequests, "slow down, too many changes in a short while") return } diff --git a/internal/web/templates/who.html b/internal/web/templates/who.html index 39d2888..2642691 100644 --- a/internal/web/templates/who.html +++ b/internal/web/templates/who.html @@ -117,9 +117,10 @@ {{end}} - {{/* Public gear list. Hidden for the owner: their own "Equipment" panel below - supersedes it with live tiers, conditions, and management controls. */}} - {{if not .HasSelf}} + {{/* Public gear list. Hidden only when the owner's "Equipment" panel below will + actually render (it needs pushed Slots) — otherwise an owner whose detail + predates ask 7's Slots would see no standard gear at all. */}} + {{if not .Self.Slots}}

Gear

{{if .Detail.Gear}} @@ -483,12 +484,12 @@ var STATUS = { pending: 'queued', applied: 'done', - rejected_not_owned: "couldn't — that item had already moved", - rejected_not_worn: "couldn't — that slot was already empty", - rejected_not_equippable: "couldn't — that item can't be worn", - rejected_downgrade: "couldn't — that wouldn't be an upgrade", - rejected_insufficient_funds: "couldn't — not enough euros", - rejected_max_tier: "couldn't — already at the top tier" + rejected_not_owned: "couldn't, that item had already moved", + rejected_not_worn: "couldn't, that slot was already empty", + rejected_not_equippable: "couldn't, that item can't be worn", + rejected_downgrade: "couldn't, that wouldn't be an upgrade", + rejected_insufficient_funds: "couldn't, not enough euros", + rejected_max_tier: "couldn't, already at the top tier" }; var VERB = { equip: 'Equip', unequip: 'Take off', upgrade: 'Upgrade', repair: 'Repair' };