Skip to content

Conversation

ritankarsaha
Copy link
Contributor

Fixes #150

This PR does the following:-

  1. Modifies the index.html page in the events_news folder of the templates folder.
  2. Whenever there is an empty field, while creating an event through the admin portal, it displays N/A instead of leaving it blank.
  3. Used basic if block to conditionally check whether the fields are filled or not and thereby display the proper message accordingly,

PROOF OF WORK

Screen.Recording.2024-06-06.at.12.mp4

This Screen Recording shows the entire process and also displays when the fields are not filled, it's displaying N/A and it also shows that when the fields are filled all the content are displayed. Therefore it does not hamper the general process

Additional Screenshots to support it-
Screenshot 2024-06-06 at 12 36 05 PM

Screenshot 2024-06-06 at 12 35 54 PM

Thank You.

Fixes #150

@ritankarsaha
Copy link
Contributor Author

@SamakshAgarwal1112 @NightFury742 I have completed the issue #150 and linked a PR for the same #154

@ritankarsaha ritankarsaha force-pushed the Ritankar_Saha_default_text_view branch from 51d1325 to 89b61cb Compare June 6, 2024 11:19
@SamakshAgarwal1112
Copy link
Collaborator

@ritankarsaha Events are listed at home page also. At home page, events are listed with "Location" entry. Add a default text there as well. Also, when we click View on an event, A detailed page is opened with all of event details. Add default texts for location and event entries there as well.

@ritankarsaha
Copy link
Contributor Author

@SamakshAgarwal1112 @NightFury742 I have made the necessary changes as desired and pushed a new commit into the PR.
The new commits -

  1. Modified the event.html file of the events_news folder both for mobile screens and PC screens to display the empty fields as N/A, whenever a card is clicked on the view component to display the enlarged acrd.
  2. Modifies the index.html of the Alumni connect folder so that the cards displayed under the Events section display N/A when the fields are not filled.

PROOF OF WORK

Screen.Recording.2024-06-07.at.10.mp4

This video demonstrates all the 3 places where the cards are and where N/A should be displayed instead of the empty fields.

Screenshot 2024-06-07 at 10 30 30 AM Screenshot 2024-06-07 at 10 34 52 AM

This displays the photo of the card in the home page of the website.

Screenshot 2024-06-07 at 10 35 30 AM

This displays the photo of the card when the view button is clicked and it gets enlarged displaying the whole card.

Screenshot 2024-06-07 at 10 35 18 AM

This shows the original cards in the events section sbowing that it didnot mess up the previous commits.

@SamakshAgarwal1112 SamakshAgarwal1112 merged commit 76eb5b0 into BitByte-TPC:master Jun 7, 2024
@NightFury742 NightFury742 added difficulty - easy BSoC'24 Issues available during BSoC 2024 labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BSoC'24 Issues available during BSoC 2024 difficulty - easy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add default text for event entries not specified

3 participants