From 6f4be55a08b7a5220aace4213ac6938083362ed9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eck=20Bal=C3=A1zs?= <eckbalu@sch.bme.hu>
Date: Sun, 6 Apr 2025 21:35:30 +0200
Subject: [PATCH] change frontend pictures string

---
 imageuploader/posts/templates/posts/post_new.html   | 6 +++---
 imageuploader/posts/templates/posts/posts_list.html | 4 ++--
 imageuploader/templates/layout.html                 | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/imageuploader/posts/templates/posts/post_new.html b/imageuploader/posts/templates/posts/post_new.html
index 637fd62..e8b617c 100644
--- a/imageuploader/posts/templates/posts/post_new.html
+++ b/imageuploader/posts/templates/posts/post_new.html
@@ -1,16 +1,16 @@
 {% extends 'layout.html' %}
 
 {% block title %}
-   New Post
+   New Picture
 {% endblock %}
 
 {% block content %}
     <section>
-        <h1>New Post</h1>
+        <h1>New Picture</h1>
         <form class="form-with-validation" action="{% url 'posts:new-post' %}" method="post" enctype="multipart/form-data">
             {% csrf_token %} 
             {{ form }}
-            <button class="form-submit">Add Post</button>
+            <button class="form-submit">Add Picture</button>
         </form>
     </section>
 {% endblock %}
\ No newline at end of file
diff --git a/imageuploader/posts/templates/posts/posts_list.html b/imageuploader/posts/templates/posts/posts_list.html
index 1fd39c2..5e2a027 100644
--- a/imageuploader/posts/templates/posts/posts_list.html
+++ b/imageuploader/posts/templates/posts/posts_list.html
@@ -1,12 +1,12 @@
 {% extends 'layout.html' %}
 
 {% block title %}
-    Posts
+    Pictures
 {% endblock %}
 
 {% block content %}
     <section>
-    <h1>Posts</h1>
+    <h1>Pictures</h1>
 
     {% for post in posts %}
         <article class="post">
diff --git a/imageuploader/templates/layout.html b/imageuploader/templates/layout.html
index a3f76b8..853f150 100644
--- a/imageuploader/templates/layout.html
+++ b/imageuploader/templates/layout.html
@@ -22,10 +22,10 @@
         </a> | 
         {% if user.is_authenticated %}
             <a href="{% url 'posts:list' %}">
-                <span role="img" aria-label="Posts" title="Posts">📰</span>
+                <span role="img" aria-label="Pictures" title="Pictures">📰</span>
             </a> | 
             <a href="{% url 'posts:new-post' %}">
-                <span role="img" aria-label="New Post" title="New Post">🆕</span>
+                <span role="img" aria-label="New Picture" title="New Picture">🆕</span>
             </a> | 
             <form class="logout" action="{% url 'users:logout' %}" method="post">
                 {% csrf_token %} 
-- 
GitLab