Skip to content

Commit

Permalink
Merge branch '2.4' into 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Feb 19, 2018
2 parents 1a9cdee + 7672504 commit c76cbcb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ matrix:
env: DB=PGSQL CORE_RELEASE=3.5
- php: 5.4
env: DB=SQLITE
- php: 5.3
- php: 5.4
env: DB=MYSQL
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
Expand Down
2 changes: 1 addition & 1 deletion code/forms/gridfield/GridFieldBlogPostState.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function getColumnContent($gridField, $record, $columnName)
$modifiedLabel = '';

if ($record->isModifiedOnStage) {
$modifiedLabel = '<span class="modified">' . _t('GridFieldBlogPostState.Modified') . '</span>';
$modifiedLabel = '<span class="modified">' . _t('GridFieldBlogPostState.Modified', 'Modified') . '</span>';
}

if (!$record->isPublished()) {
Expand Down
2 changes: 1 addition & 1 deletion code/model/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ public function PaginatedList()
$posts->setPageLength($pageSize);

// Set current page
$start = $this->request->getVar($posts->getPaginationGetVar());
$start = (int)$this->request->getVar($posts->getPaginationGetVar());
$posts->setPageStart($start);

return $posts;
Expand Down
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ en:
PermissionFail: 'You don''t have permission to create a {class}.'
GridFieldBlogPostState:
Draft: '<i class="btn-icon gridfield-icon btn-icon-pencil"></i> Saved as Draft on {date}'
Modified: 'Modified'
Published: '<i class="btn-icon gridfield-icon btn-icon-accept"></i> Published on {date}'
Timer: '<i class="gridfield-icon blog-icon-timer"></i> Publish at {date}'
TagCloudWidget:
Expand Down

0 comments on commit c76cbcb

Please sign in to comment.