Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

images: Move Giphy images into proper subdirectories.

Khushiyant8609c441ffca
diff --git a/static/images/GIPHY_attribution.png b/static/images/giphy/GIPHY_attribution.png
similarity index 100%
rename from static/images/GIPHY_attribution.png
rename to static/images/giphy/GIPHY_attribution.png
diff --git a/static/images/GIPHY_big_logo.png b/static/images/integrations/giphy/GIPHY_big_logo.png
similarity index 100%
rename from static/images/GIPHY_big_logo.png
rename to static/images/integrations/giphy/GIPHY_big_logo.png
diff --git a/static/images/GIPHY_zulip.png b/static/images/integrations/giphy/GIPHY_zulip.png
similarity index 100%
rename from static/images/GIPHY_zulip.png
rename to static/images/integrations/giphy/GIPHY_zulip.png
diff --git a/static/templates/giphy_picker.hbs b/static/templates/giphy_picker.hbs
index 1353e5abac3..ee05cdcbb79 100644
--- a/static/templates/giphy_picker.hbs
+++ b/static/templates/giphy_picker.hbs
@@ -15,7 +15,7 @@
<div class="giphy-content"></div>
</div>
<div class="popover-footer">
- <img src="/static/images/GIPHY_attribution.png" alt="{{t 'GIPHY attribution' }}" />
+ <img src="/static/images/giphy/GIPHY_attribution.png" alt="{{t 'GIPHY attribution' }}" />
</div>
</div>
</div>
diff --git a/templates/zerver/integrations/giphy.md b/templates/zerver/integrations/giphy.md
index 895bfed45f5..3e7028c16eb 100644
--- a/templates/zerver/integrations/giphy.md
+++ b/templates/zerver/integrations/giphy.md
@@ -2,7 +2,7 @@
Send animated GIFs with your message using GIPHY integration.
-![](/static/images/GIPHY_zulip.png)
+![](/static/images/integrations/giphy/GIPHY_zulip.png)
GIPHY is enabled by default in Zulip Cloud. If the you're on a
self-hosted server where the [GIPHY integration][help-center-giphy]
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 9a79dc7319e..b17f049e4f8 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -509,7 +509,7 @@ INTEGRATIONS: Dict[str, Integration] = {
display_name="GIPHY",
categories=["misc"],
doc="zerver/integrations/giphy.md",
- logo="images/GIPHY_big_logo.png",
+ logo="images/integrations/giphy/GIPHY_big_logo.png",
),
"git": Integration(
"git", "git", ["version-control"], stream_name="commits", doc="zerver/integrations/git.md"