Added GroupPinnedStatuses
• Added: - GroupPinnedStatuses - controllers for timeline, creation, deletion - redux actions, reducers for creation, deletion - timeline fetching in timelines action - options to pin, unpin in status options popover for group admin
This commit is contained in:
@@ -933,6 +933,11 @@ en:
|
||||
ownership: Someone else's gab cannot be pinned
|
||||
private: Non-public gabs can't be pinned
|
||||
reblog: A repost cannot be pinned
|
||||
group_pin_errors:
|
||||
limit: You have already pinned the maximum number of gabs for groups
|
||||
ungrouped: Gabs not made in the group cannot be pinned
|
||||
reblog: A repost cannot be pinned
|
||||
notGroupStatus: The status you are attempting to pin is not associated with the given group
|
||||
poll:
|
||||
total_votes:
|
||||
one: "%{count} vote"
|
||||
|
||||
@@ -873,6 +873,11 @@ en_GB:
|
||||
ownership: Someone else's toot cannot be pinned
|
||||
private: Non-public toot cannot be pinned
|
||||
reblog: A repost cannot be pinned
|
||||
group_pin_errors:
|
||||
limit: You have already pinned the maximum number of gabs for groups
|
||||
ungrouped: Gabs not made in the group cannot be pinned
|
||||
reblog: A repost cannot be pinned
|
||||
notGroupStatus: The status you are attempting to pin is not associated with the given group
|
||||
poll:
|
||||
total_votes:
|
||||
one: "%{count} vote"
|
||||
|
||||
@@ -330,6 +330,7 @@ Rails.application.routes.draw do
|
||||
resources :list, only: :show
|
||||
resources :group, only: :show
|
||||
resources :group_collection, only: :show
|
||||
resources :group_pins, only: :show
|
||||
end
|
||||
|
||||
resources :gab_trends, only: [:index]
|
||||
@@ -439,6 +440,8 @@ Rails.application.routes.draw do
|
||||
resources :relationships, only: :index, controller: 'groups/relationships'
|
||||
resource :accounts, only: [:show, :create, :update, :destroy], controller: 'groups/accounts'
|
||||
resource :removed_accounts, only: [:show, :create, :destroy], controller: 'groups/removed_accounts'
|
||||
resource :pin, only: :create, controller: 'groups/pins'
|
||||
post :unpin, to: 'groups/pins#destroy'
|
||||
end
|
||||
|
||||
resources :polls, only: [:create, :show] do
|
||||
|
||||
Reference in New Issue
Block a user