Skip to content

Commit f9f4061

Browse files
committed
Edit button not appearing on global lists
1 parent 9894f81 commit f9f4061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlibrary/templates/type/list/view_body.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
$if not is_owner:
3939
<div id="contentHead" style="margin-bottom:0;">
40-
$ owner = list.get_owner()
40+
$:macros.databarView(list, edit=list.key.startswith('/lists/'))
4141
<h1>$list.name</h1>
4242
<p class="collapse sansserif">
4343
$ component_times['render_seed_count'] = time()

0 commit comments

Comments
 (0)