Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
/public/storage
/public/js/app.js
/public/js/app.js.LICENSE.txt
/public/js/app.js.map
/public/css/app.css
/public/css/app.css.map
/public/css/dark.css
/public/css/light.css
/public/css/tailwind.css
/public/css/tailwind.css.map
/public/backup
/public/google*.html
/vendor
Expand Down
16 changes: 8 additions & 8 deletions app/Http/Controllers/EntitiesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function index(
->orderBy('events_count', 'desc')
->paginate(6);

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -221,7 +221,7 @@ public function indexFollowing(

$this->hasFilter = $listResultSet->getFilters() != $listResultSet->getDefaultFilters() || $listResultSet->getIsEmptyFilter();

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -291,7 +291,7 @@ public function indexTypes(

$this->hasFilter = $listResultSet->getFilters() != $listResultSet->getDefaultFilters() || $listResultSet->getIsEmptyFilter();

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -349,7 +349,7 @@ public function indexRoles(

$this->hasFilter = $listResultSet->getFilters() != $listResultSet->getDefaultFilters() || $listResultSet->getIsEmptyFilter();

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -409,7 +409,7 @@ public function filter(

$this->hasFilter = $listResultSet->getFilters() != $listResultSet->getDefaultFilters() || $listResultSet->getIsEmptyFilter();

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -510,7 +510,7 @@ public function indexTags(

$this->hasFilter = $listResultSet->getFilters() != $listResultSet->getDefaultFilters() || $listResultSet->getIsEmptyFilter();

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -566,7 +566,7 @@ public function indexAliases(

$this->hasFilter = $listResultSet->getFilters() != $listResultSet->getDefaultFilters() || $listResultSet->getIsEmptyFilter();

return view('entities.index')
return view('entities.index-tw')
->with(array_merge(
[
'limit' => $listResultSet->getLimit(),
Expand Down Expand Up @@ -703,7 +703,7 @@ public function show(Entity $entity, OembedExtractor $embedExtractor): View
$futureEvents = $entity->futureEvents(5);
$pastEvents = $entity->pastEvents(5);

return view('entities.show', compact('entity', 'threads', 'embeds', 'tracks','futureEvents','pastEvents'));
return view('entities.show-tw', compact('entity', 'threads', 'embeds', 'tracks','futureEvents','pastEvents'));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/EventsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ public function show(?Event $event, OembedExtractor $oembedExtractor): string
// $embeds = $embedExtractor->getEmbedsForEvent($event);
// $embeds = [];

return view('events.show', compact('event', 'embeds'))->with(['thread' => $thread, 'blacklist' => $blacklist])->render();
return view('events.show-tw', compact('event', 'embeds'))->with(['thread' => $thread, 'blacklist' => $blacklist])->render();
}


Expand Down
Loading
Loading