diff options
| author | 2015-02-14 11:00:26 -0500 | |
|---|---|---|
| committer | 2015-02-14 11:00:26 -0500 | |
| commit | b8fd3caf8306e8616fcb2f2c0add95b74c2ec024 (patch) | |
| tree | 7a134069fe89f3e0b18ee33be3a543ea4fcdc684 /app/Models/Share.php | |
| parent | 4bb8548eccf22b40c25352fe27c66f1f8039ebcd (diff) | |
Harmonize share configuration view.
Before, for shares that don't need options, only a button to remove it was visible. It was source of confusion for users.
I changed the look of those shares by using the same layout as others (minus the help). As there is no configuration possible for the url, the field is disabled but it is possible to change the name of the share.
See #787
Diffstat (limited to 'app/Models/Share.php')
| -rw-r--r-- | app/Models/Share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php index db6feda19..2a05f2ee9 100644 --- a/app/Models/Share.php +++ b/app/Models/Share.php @@ -152,7 +152,7 @@ class FreshRSS_Share { * Return the current name of the share option. */ public function name($real = false) { - if ($real || is_null($this->custom_name)) { + if ($real || is_null($this->custom_name) || empty($this->custom_name)) { return $this->name; } else { return $this->custom_name; |
