mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 01:36:43 +00:00
Merge pull request #645 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
9360779cba
3 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ class ProfileController extends Controller
|
||||||
return redirect($profile->url());
|
return redirect($profile->url());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$items = $profile->statuses()->whereIn('visibility',['public', 'unlisted'])->orderBy('created_at', 'desc')->take(10)->get();
|
$items = $profile->statuses()->whereHas('media')->whereIn('visibility',['public', 'unlisted'])->orderBy('created_at', 'desc')->take(10)->get();
|
||||||
return response()->view('atom.user', compact('profile', 'items'))
|
return response()->view('atom.user', compact('profile', 'items'))
|
||||||
->header('Content-Type', 'application/atom+xml');
|
->header('Content-Type', 'application/atom+xml');
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ return [
|
||||||
| This value is the version of your PixelFed instance.
|
| This value is the version of your PixelFed instance.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'version' => '0.5.6',
|
'version' => '0.5.7',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ $item->caption }}</title>
|
<title>{{ $item->caption }}</title>
|
||||||
<link rel="alternate" href="{{ $item->url() }}" />
|
<link rel="alternate" href="{{ $item->url() }}" />
|
||||||
<id>{{ url($item->id) }}</id>
|
<id>{{ $item->url() }}</id>
|
||||||
<author>
|
<author>
|
||||||
<name> <![CDATA[{{ $item->profile->username }}]]></name>
|
<name> <![CDATA[{{ $item->profile->username }}]]></name>
|
||||||
</author>
|
</author>
|
||||||
|
|
Loading…
Reference in a new issue