Fixes #145 - Plugin details now support "homepage" property
This commit is contained in:
parent
e6d82bec69
commit
f0cb98e63c
|
|
@ -1,3 +1,7 @@
|
|||
* **Build 16x** (2014-11-xx)
|
||||
- Plugin details method now support "homepage" property (see Plugins > Registration & Versions docs).
|
||||
- Fixes a bug in the Datepicker using `time` mode.
|
||||
|
||||
* **Build 162** (2014-11-10)
|
||||
- Fixes an issue where the *Pages* tab is shown in the CMS when permission is denied.
|
||||
- Updates are no longer shown on the Dashboard if permission is denied.
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
tr.each(function(){
|
||||
|
||||
var link = $(this).find(options.target).filter(function(){
|
||||
return !$(this).closest('td').hasClass(options.excludeClass)
|
||||
return !$(this).closest('td').hasClass(options.excludeClass) && !$(this).hasClass(options.excludeClass)
|
||||
}).first()
|
||||
|
||||
if (!link.length) return
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<?php if ($record->homepage): ?>
|
||||
<abbr title="<?= e($record->homepage) ?>">
|
||||
<a href="<?= $record->homepage ?>" class="nolink" target="_blank">
|
||||
<?= $value ?>
|
||||
</a>
|
||||
</abbr>
|
||||
<?php else: ?>
|
||||
<?= $value ?>
|
||||
<?php endif ?>
|
||||
|
|
@ -25,7 +25,7 @@ class PluginVersion extends Model
|
|||
/**
|
||||
* @var array List of attribute names which should not be saved to the database.
|
||||
*/
|
||||
protected $purgeable = ['name', 'description', 'orphaned', 'author', 'icon'];
|
||||
protected $purgeable = ['name', 'description', 'orphaned', 'author', 'icon', 'homepage'];
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,3 +19,5 @@ columns:
|
|||
author:
|
||||
label: system::lang.updates.plugin_author
|
||||
sortable: false
|
||||
type: partial
|
||||
path: column_author
|
||||
Loading…
Reference in New Issue