diff --git a/src/_common/game/game.model.ts b/src/_common/game/game.model.ts index bbafed2331..61623570f4 100644 --- a/src/_common/game/game.model.ts +++ b/src/_common/game/game.model.ts @@ -51,6 +51,10 @@ export class Game extends Collaboratable(Model) implements ContentContainerModel static readonly DEVELOPMENT_STATUS_CANCELED = 3; static readonly DEVELOPMENT_STATUS_DEVLOG = 4; + static readonly LOCKED_STATUS_UNLOCKED = 0; + static readonly LOCKED_STATUS_DMCA = 1; + static readonly LOCKED_STATUS_ADULT = 3; + developer!: User; thumbnail_media_item?: MediaItem; header_media_item?: MediaItem; @@ -119,6 +123,7 @@ export class Game extends Collaboratable(Model) implements ContentContainerModel has_active_builds?: boolean; is_listable?: boolean; is_locked?: boolean; + locked_status?: number; // Sites settings site?: Site; diff --git a/src/_common/report/form/form.ts b/src/_common/report/form/form.ts index 78e41a2d71..7dc87485f7 100644 --- a/src/_common/report/form/form.ts +++ b/src/_common/report/form/form.ts @@ -60,6 +60,12 @@ export default class AppReportForm extends BaseForm implements FormOn 'Incorrect maturity rating for the content in the game' ), }, + { + radioValue: 'explicit', + text: this.$gettext( + 'It is pornographic or contains sexually explicit material' + ), + }, { radioValue: 'stolen', text: this.$gettext('Game does not belong to this developer'), diff --git a/src/app/components/tag/images/adult-social.png b/src/app/components/tag/images/adult-social.png deleted file mode 100644 index c8ec1e97ac..0000000000 Binary files a/src/app/components/tag/images/adult-social.png and /dev/null differ diff --git a/src/app/components/tag/images/adult.png b/src/app/components/tag/images/adult.png deleted file mode 100644 index 11e1d52f3f..0000000000 Binary files a/src/app/components/tag/images/adult.png and /dev/null differ diff --git a/src/app/components/tag/list/list.ts b/src/app/components/tag/list/list.ts index 1f5802c157..d374d265f6 100644 --- a/src/app/components/tag/list/list.ts +++ b/src/app/components/tag/list/list.ts @@ -28,7 +28,6 @@ const FeaturedTags = [ 'puzzle', 'strategy', 'sports', - 'adult', ]; @Component({ diff --git a/src/app/components/tag/tags-info.service.ts b/src/app/components/tag/tags-info.service.ts index c3f779d41d..345ebe20e4 100644 --- a/src/app/components/tag/tags-info.service.ts +++ b/src/app/components/tag/tags-info.service.ts @@ -139,12 +139,6 @@ export class TagsInfo { image: require('./images/strategysim.png'), imageSocial: require('./images/strategysim-social.png'), }, - { - id: 'adult', - label: '#adult', - image: require('./images/adult.png'), - imageSocial: require('./images/adult-social.png'), - }, { id: 'other', label: '#other', diff --git a/src/app/views/dashboard/games/manage/manage.ts b/src/app/views/dashboard/games/manage/manage.ts index 40fdd0e024..d93eb31bfb 100644 --- a/src/app/views/dashboard/games/manage/manage.ts +++ b/src/app/views/dashboard/games/manage/manage.ts @@ -64,6 +64,8 @@ export default class RouteDashGamesManage extends BaseRouteComponent { populate!: RouteStore['populate']; readonly Game = Game; + readonly GAME_LOCKED_STATUS_DMCA = Game.LOCKED_STATUS_DMCA; + readonly GAME_LOCKED_STATUS_ADULT = Game.LOCKED_STATUS_ADULT; routeResolved() { this.setPageTheme(); diff --git a/src/app/views/dashboard/games/manage/manage.vue b/src/app/views/dashboard/games/manage/manage.vue index 9bd01f085e..370c701d25 100644 --- a/src/app/views/dashboard/games/manage/manage.vue +++ b/src/app/views/dashboard/games/manage/manage.vue @@ -8,15 +8,33 @@

-

- This game was removed from the site. -

-

- - We have received a DMCA takedown notice and were required to remove it - from the site. Only you are able to view it. - -

+ + @@ -162,6 +180,7 @@ ~ Warm thanks from both {{ game.developer.display_name }} and the Game Jolt team.

-