Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Enhancement: Streamline layouts and fix-up content #397

Merged
merged 11 commits into from
Feb 18, 2015

Conversation

localheinz
Copy link
Member

The aim of this PR is to streamline the existing layouts in order to reduce duplication, so we can move on and actually change it without having to do in two places.

  • splits setting up and rendering view helpers
  • fixes some alternative syntax blocks spanning multiple lines
  • fixes wrapping, indentation, adds missing trailing semicolons (for consistency)
  • fixes a closing tag that isn't one
  • uses HTML5 style for self-enclosing tags
  • removes text that states the obvious
  • splits text into paragraphs

Before

screen shot 2015-02-18 at 17 31 11

After

screen shot 2015-02-18 at 17 30 52

@localheinz localheinz self-assigned this Feb 18, 2015
@localheinz localheinz force-pushed the fix/layouts branch 2 times, most recently from 21d5685 to 2ef4438 Compare February 18, 2015 16:05
@localheinz localheinz removed their assignment Feb 18, 2015
@localheinz localheinz changed the title [WIP] Enhancement: Streamline layouts Enhancement: Streamline layouts and fix-up content Feb 18, 2015
@localheinz
Copy link
Member Author

Actually, I'd be very happy to reiterate on this!

Since @ins0 has updated to Twitter Bootstrap 3, we should use it as much as we can. The current design looks too old.

Also, I suggest to use icons, for example, Font Awesome

@@ -2,53 +2,53 @@

<html lang="en">
<head>
<?php echo $this->headTitle('ZF2 Modules')->setSeparator(' - ')->setAutoEscape(false) ?>
<?php $this->headTitle('ZF2 Modules')->setSeparator(' - ')->setAutoEscape(false); ?>
<?php echo $this->headTitle(); ?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked the previous approach better (easier to read, imo)

@Ocramius Ocramius self-assigned this Feb 18, 2015
Ocramius added a commit that referenced this pull request Feb 18, 2015
Enhancement: Streamline layouts and fix-up content
@Ocramius Ocramius merged commit 7e4a57b into zendframework:master Feb 18, 2015
@Ocramius
Copy link
Member

Merged, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants