-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from solver-it-sro/GO-369/signing-group
GO-369 Systemova skupina - Podpisovatelia
- Loading branch information
Showing
29 changed files
with
255 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
class Admin::Groups::GroupsListComponent < ViewComponent::Base | ||
def initialize(custom_groups:, system_groups:) | ||
@custom_groups = custom_groups | ||
@system_groups = system_groups | ||
def initialize(editable_groups:, non_editable_groups:) | ||
@editable_groups = editable_groups | ||
@non_editable_groups = non_editable_groups | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# == Schema Information | ||
# | ||
# Table name: groups | ||
# | ||
# id :bigint not null, primary key | ||
# group_type :enum | ||
# name :string not null | ||
# type :string not null | ||
# created_at :datetime not null | ||
# updated_at :datetime not null | ||
# tenant_id :bigint not null | ||
# | ||
class AdminGroup < Group | ||
def name | ||
I18n.t("group.names.admin") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# == Schema Information | ||
# | ||
# Table name: groups | ||
# | ||
# id :bigint not null, primary key | ||
# group_type :enum | ||
# name :string not null | ||
# type :string not null | ||
# created_at :datetime not null | ||
# updated_at :datetime not null | ||
# tenant_id :bigint not null | ||
# | ||
class AllGroup < Group | ||
def name | ||
I18n.t("group.names.all") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# == Schema Information | ||
# | ||
# Table name: groups | ||
# | ||
# id :bigint not null, primary key | ||
# group_type :enum | ||
# name :string not null | ||
# type :string not null | ||
# created_at :datetime not null | ||
# updated_at :datetime not null | ||
# tenant_id :bigint not null | ||
# | ||
class CustomGroup < Group | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# == Schema Information | ||
# | ||
# Table name: groups | ||
# | ||
# id :bigint not null, primary key | ||
# group_type :enum | ||
# name :string not null | ||
# type :string not null | ||
# created_at :datetime not null | ||
# updated_at :datetime not null | ||
# tenant_id :bigint not null | ||
# | ||
class SignerGroup < Group | ||
def name | ||
I18n.t("group.names.signer") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.