diff --git a/dist/treebird.css b/dist/treebird.css index c9ce27f..950ff59 100644 --- a/dist/treebird.css +++ b/dist/treebird.css @@ -828,12 +828,6 @@ input[type=checkbox].hidden:not(:checked) + .reply-form display: inline; } -/* .notification-text-group-with-icon, */ -/* .notification-text-group */ -/* { */ -/* vertical-align: middle; */ -/* } */ - .status.status-notification:not(.status-notification-mention) .status-content { color: #808080; diff --git a/perl/lists.pm b/perl/lists.pm index 40cec0e..8200115 100644 --- a/perl/lists.pm +++ b/perl/lists.pm @@ -11,7 +11,9 @@ sub content_lists { my ($ssn, $data, $lists) = @_; - my %vars = (); + my %vars = ( + lists => $lists + ); to_template(\%vars, \$data->{'content_lists.tt'}); } diff --git a/src/lists.c b/src/lists.c index 96e4c90..e0e5d14 100644 --- a/src/lists.c +++ b/src/lists.c @@ -119,7 +119,7 @@ void list_edit(PATH_ARGS) mastodont_storage_cleanup(&storage); } -HV* perlify_list(struct mstdnt_list* list) +HV* perlify_list(const struct mstdnt_list* list) { if (!list) return NULL; diff --git a/src/lists.h b/src/lists.h index 923c3d5..9d55d84 100644 --- a/src/lists.h +++ b/src/lists.h @@ -28,7 +28,7 @@ void content_lists(PATH_ARGS); void list_edit(PATH_ARGS); /** Converts list to perl hash */ -HV* perlify_list(struct mstdnt_list* list); +HV* perlify_list(const struct mstdnt_list* list); /** Converts lists to perl array */ AV* perlify_lists(const struct mstdnt_list* lists, size_t len); diff --git a/templates/content_lists.tt b/templates/content_lists.tt index d3c5931..7053dce 100644 --- a/templates/content_lists.tt +++ b/templates/content_lists.tt @@ -1 +1,35 @@ -