Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor img Tag: _includes/press.html #5439

Closed
4 of 5 tasks
Tracked by #5040
roslynwythe opened this issue Sep 4, 2023 · 2 comments · Fixed by #5636
Closed
4 of 5 tasks
Tracked by #5040

Refactor img Tag: _includes/press.html #5439

roslynwythe opened this issue Sep 4, 2023 · 2 comments · Fixed by #5636
Assignees
Labels
Feature: Refactor HTML good first issue Good for newcomers P-Feature: Home page https://www.hackforla.org/ role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 0.25pt Can be done in 0.5 to 1.5 hours

Comments

@roslynwythe
Copy link
Member

roslynwythe commented Sep 4, 2023

Issue Template for updates to HTML and JavaScript files

Prerequisite

  1. Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our Getting Started page and attend an onboarding session.
  2. Before you claim or start working on an issue, please make sure you have read our How to Contribute to Hack for LA Guide.

Overview

We want to change an img HTML tag ending with a slash (<img.../>) to an img tag without an ending slash (<img...>) so that the codebase is consistent with how we use img HTML tags.

Action Items

  • In your local IDE, navigate to _includes/press.html
  • Remove the ending slash in the img HTML tag by changing
<img class="quote-tmb" src="{{ item.img_url | absolute_url }}" alt="{{ item.source }}" />

to

<img class="quote-tmb" src="{{ item.img_url | absolute_url }}" alt="{{ item.source }}">
  • The file may contain more than one instance of an img tag with a closing slash. Only change the single instance specified above. Do not leave any blank spaces before the closing bracket.
  • Using Docker, check the page remains the same in mobile, tablet, and desktop views as on the current website (See 2 in the Resources/Instructions section below)

Merge Team

Resources/Instructions

  1. For QA to validate change: https://github.com/hackforla/website/blob/gh-pages/_includes/press.html
  2. Webpage(s): https://www.hackforla.org/#press
  3. This issue is tracked in HfLA-Website: img Tag Audit spreadsheet's img with Ending Slash tab, and Epic: Create Issues for removing closing slash from img tags #5040
@roslynwythe roslynwythe added Feature Missing This label means that the issue needs to be linked to a precise feature label. role missing size: missing labels Sep 4, 2023
@github-actions
Copy link

github-actions bot commented Sep 4, 2023

Hi @roslynwythe.

Please don't forget to add the proper labels to this issue. Currently, the labels for the following are missing:
Complexity, Role, Feature

NOTE: Please ignore the adding proper labels comment if you do not have 'write' access to this directory.

To add a label, take a look at Github's documentation here.

Also, don't forget to remove the "missing labels" afterwards.
To remove a label, the process is similar to adding a label, but you select a currently added label to remove it.

After the proper labels are added, the merge team will review the issue and add a "Ready for Prioritization" label once it is ready for prioritization.

Additional Resources:

@roslynwythe roslynwythe added good first issue Good for newcomers role: front end Tasks for front end developers role: back end/devOps Tasks for back-end developers size: 0.25pt Can be done in 0.5 to 1.5 hours P-Feature: Home page https://www.hackforla.org/ Feature: Refactor HTML labels Sep 4, 2023
@roslynwythe roslynwythe added this to the x. Technical debt milestone Sep 4, 2023
@roslynwythe roslynwythe removed Feature Missing This label means that the issue needs to be linked to a precise feature label. role missing size: missing labels Sep 4, 2023
@sheehanrobb sheehanrobb self-assigned this Sep 30, 2023
@github-actions
Copy link

Hi @sheehanrobb, thank you for taking up this issue! Hfla appreciates you :)

Do let fellow developers know about your:-
i. Availability: (When are you available to work on the issue/answer questions other programmers might have about your issue?)
ii. ETA: (When do you expect this issue to be completed?)

You're awesome!

P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Refactor HTML good first issue Good for newcomers P-Feature: Home page https://www.hackforla.org/ role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 0.25pt Can be done in 0.5 to 1.5 hours
Projects
Development

Successfully merging a pull request may close this issue.

2 participants