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

[4.0] Center status/date created headers #29249

Merged
merged 4 commits into from Jul 12, 2020
Merged

Conversation

Quy
Copy link
Contributor

@Quy Quy commented May 28, 2020

Summary of Changes

Center status header to match with its td cell.

Testing Instructions

Code review.
or
Go to Content > Articles
See Date Created header right-aligned vs. center-aligned in Featured Articles.
Go to Content > Featured Articles
See Status header left-aligned.

(Optional to better see the alignment issue in Smart Search) Install https://github.com/C-Lodder/joomla4-backend-template/releases
Go to System > Administrator Template Styles
Set Bettum the default.

Go to Components > Smart Search > Index
See Status header left-aligned.
Go to Components > Smart Search > Filters
See Status header left-aligned.

Expected result

Table header/cell respectively should be center-aligned.

@brianteeman
Copy link
Contributor

This is only for smart search.

@Quy Quy changed the title [4.0] Center status header [4.0] Center status/date created header May 29, 2020
@Quy Quy changed the title [4.0] Center status/date created header [4.0] Center status/date created headers May 29, 2020
@brianteeman
Copy link
Contributor

Note that this issue is present in more places than addressed here. For example the date in articles list is centered but the header is not.

@Quy
Copy link
Contributor Author

Quy commented Jun 7, 2020

Testing instructions updated. Ready for testing.

@Quy Quy added this to the Joomla 4.0 milestone Jul 12, 2020
@astridx
Copy link
Contributor

astridx commented Jul 12, 2020

I tested this and saw a clear difference at a width of 5000 pixels. I made the changes manually in the code for the view articles and code review for the other two files.

centered
Articles test Administration

not centered
Articles test Administration(1)

@astridx
Copy link
Contributor

astridx commented Jul 12, 2020

I have tested this item ✅ successfully on 177c446


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29249.

1 similar comment
@richard67
Copy link
Member

I have tested this item ✅ successfully on 177c446


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29249.

@joomla-cms-bot joomla-cms-bot removed this from the Joomla 4.0 milestone Jul 12, 2020
@richard67
Copy link
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29249.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 12, 2020
@richard67 richard67 added this to the Joomla 4.0 milestone Jul 12, 2020
@Quy Quy merged commit cba7b6f into joomla:4.0-dev Jul 12, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jul 12, 2020
@Quy
Copy link
Contributor Author

Quy commented Jul 12, 2020

Thanks!

@Quy Quy deleted the center-status branch July 12, 2020 18:50
dgrammatiko added a commit to dgrammatiko/joomla-cms that referenced this pull request Jul 21, 2020
…outs

* '4.0-dev' of github.com:joomla/joomla-cms: (612 commits)
  [4.0] Smart Search: Fixing ordering, order direction and disabled button (joomla#29474)
  [4.0] Generate routed Modal links for iframes when not on the root (joomla#30007)
  [4.0] Get menu directly in com_tags menu route helper (joomla#30039)
  Remove collapse when resizing from mobile to desktop (joomla#30132)
  [4.0] Wrap component output in `main` element to make Cassiopeia more accessible (joomla#29870)
  [4.0] Webauthn gmp warning (joomla#29731)
  [4.0] Refactor to return early, remove if depths and throw NotAllowed (joomla#29694)
  [4.0] CLI help text (joomla#29811)
  Feature/draggable typo fixes (joomla#29987)
  [4.0] Removing unnecessary workaround in finder indexer (joomla#30037)
  [4.0] Optimizing Smart Search for larger content (joomla#30008)
  [4.0] Fix js ajax for pre update checker (joomla#29980)
  [4.0] Cassiopea: Fixing modals custom-select fields display (joomla#30097)
  [4.0][com_fields] Fix draggable sorting (joomla#30094)
  [4.0] Correct incorrect @return documentation (joomla#30092)
  [4.0] Menu items modal: adding missing filters (joomla#30087)
  short to long php open tags with echo (joomla#30089)
  Use new Toolbar (joomla#30085)
  [4.0] Center status/date created headers (joomla#29249)
  [4.0] Fix Cassiopea searchtools alignment in modals (joomla#30077)
  ...

# Conflicts:
#	administrator/components/com_templates/src/View/Template/HtmlView.php
#	installation/sql/postgresql/base.sql
#	libraries/src/Application/AdministratorApplication.php
#	libraries/src/Application/SiteApplication.php
sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
* Center status header

* Center date created header

* Center status cell in featured article
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants