projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d7cb0
)
DB widget: when list item has a reftype, get its name in lowercase, not the whole...
author
Laury GvR
<laury@gaslightmedia.com>
Wed, 17 Oct 2018 15:13:40 +0000
(11:13 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Wed, 17 Oct 2018 15:13:40 +0000
(11:13 -0400)
views/admin/newDashboard/components/list.html
patch
|
blob
|
history
diff --git
a/views/admin/newDashboard/components/list.html
b/views/admin/newDashboard/components/list.html
index
24b470e
..
804769d
100644
(file)
--- a/
views/admin/newDashboard/components/list.html
+++ b/
views/admin/newDashboard/components/list.html
@@
-14,7
+14,7
@@
{/foreach}
{* Not all tables have a refType but all links require it, so make sure it is set *}
- {if
!$item.refTyp
e}{$item.refType = $component['defaultRefType']}{/if}
+ {if
$item.refType}{$item.refType = $item.refType.name|strtolower}{els
e}{$item.refType = $component['defaultRefType']}{/if}
<li class="collection-item">
{if isset($component.url)}