Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
1 Jun 2013 at 08:37 UTC
Updated:
29 Jul 2014 at 22:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
floydm commentedComment #2
thedavidmeister commentedOnly indent new lines 2 spaces instead of 4 please.
Comment #3
danylevskyi#2009672: [META] CodeSprint UA 2013
Comment #4
danylevskyiComment #5
danylevskyiComment #6
podarok#5 if bot happy - rtbc
look good for me
Comment #7
alexpottCommitted 3c420a6 and pushed to 8.x. Thanks!
Comment #8
tstoecklerThis should be a top-level #empty instead, as can be seen in theme_table(). You can verify that this is currently broken when visiting admin/config/user-interface/shortcut/manage/default. Before the patch the empty message displayed, now it doesn't. Instead you will find an "empty" attribute on the < table > element.
Comment #9
thedavidmeister commenteddang
Comment #10
drupee commentedGood Point! I just fixed it.
Comment #11
drupee commented#10: empty_message_fixed-2009668.patch queued for re-testing.
Comment #12
BarisW commentedAccording to the coding standards, shouldn't this be written like this:
Comment #13
drupee commentedI refered this ,
"However, for links enclosed in translatable text you should use t() and embed the HTML anchor tag directly in the translated string. For example:
t('Visit the settings page', array('@url' => url('admin')));
This keeps the context of the link title ('settings' in the example) for translators. "
at https://api.drupal.org/api/drupal/core%21includes%21common.inc/function/l/8
can somebody please recheck.
Comment #14
BarisW commentedI meant the start of the values in the array on the next line for arrays spanning over 80 characters.
Comment #15
drupee commentedOkay, thanks for explanation. I have updated the patch likewise. Please check now.
Comment #16
BarisW commentedSorry for being such an arse, but the closing brackets should be on a new line:
instead of:
It should read (mark the comma after url(),):
Comment #17
drupee commentedCan you recheck now?
Comment #18
drupee commentedComment #19
BarisW commentedAnd now you're missing two spaces ;)
This should nail it.
Comment #20
tstoecklerAwesome!
Comment #21
alexpottCommitted f7d8998 and pushed to 8.x. Thanks!