Skip to content
代码片段 群组 项目
提交 7c2473ae 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin
浏览文件

Add built-in template for Astro Tailwind

上级 0282bc74
未找到相关分支
未找到相关标签
无相关合并请求
...@@ -121,4 +121,8 @@ export default { ...@@ -121,4 +121,8 @@ export default {
text: s__('ProjectTemplates|Laravel Framework'), text: s__('ProjectTemplates|Laravel Framework'),
icon: '.template-option .icon-laravel', icon: '.template-option .icon-laravel',
}, },
astro_tailwind: {
text: s__('ProjectTemplates|Astro Tailwind'),
icon: '.template-option .icon-gitlab_logo',
},
}; };
...@@ -81,7 +81,8 @@ def localized_templates_table ...@@ -81,7 +81,8 @@ def localized_templates_table
ProjectTemplate.new('cluster_management', 'GitLab Cluster Management', _('An example project for managing Kubernetes clusters integrated with GitLab'), 'https://gitlab.com/gitlab-org/project-templates/cluster-management'), ProjectTemplate.new('cluster_management', 'GitLab Cluster Management', _('An example project for managing Kubernetes clusters integrated with GitLab'), 'https://gitlab.com/gitlab-org/project-templates/cluster-management'),
ProjectTemplate.new('kotlin_native_linux', 'Kotlin Native Linux', _('A basic template for developing Linux programs using Kotlin Native'), 'https://gitlab.com/gitlab-org/project-templates/kotlin-native-linux'), ProjectTemplate.new('kotlin_native_linux', 'Kotlin Native Linux', _('A basic template for developing Linux programs using Kotlin Native'), 'https://gitlab.com/gitlab-org/project-templates/kotlin-native-linux'),
ProjectTemplate.new('typo3_distribution', 'TYPO3 Distribution', _('A template for starting a new TYPO3 project'), 'https://gitlab.com/gitlab-org/project-templates/typo3-distribution', 'illustrations/logos/typo3.svg'), ProjectTemplate.new('typo3_distribution', 'TYPO3 Distribution', _('A template for starting a new TYPO3 project'), 'https://gitlab.com/gitlab-org/project-templates/typo3-distribution', 'illustrations/logos/typo3.svg'),
ProjectTemplate.new('laravel', 'Laravel Framework', _('A basic folder structure of a Laravel application, to help you get started.'), 'https://gitlab.com/gitlab-org/project-templates/laravel', 'illustrations/logos/laravel.svg') ProjectTemplate.new('laravel', 'Laravel Framework', _('A basic folder structure of a Laravel application, to help you get started.'), 'https://gitlab.com/gitlab-org/project-templates/laravel', 'illustrations/logos/laravel.svg'),
ProjectTemplate.new('astro_tailwind', 'Astro Tailwind', _('A basic folder structure of Astro Starter Kit, to help you get started.'), 'https://gitlab.com/gitlab-org/project-templates/astro-tailwind')
] ]
end end
# rubocop:enable Metrics/AbcSize # rubocop:enable Metrics/AbcSize
......
...@@ -1765,6 +1765,9 @@ msgstr "" ...@@ -1765,6 +1765,9 @@ msgstr ""
msgid "A Work Item can be a parent or a child, but not both." msgid "A Work Item can be a parent or a child, but not both."
msgstr "" msgstr ""
   
msgid "A basic folder structure of Astro Starter Kit, to help you get started."
msgstr ""
msgid "A basic folder structure of a Laravel application, to help you get started." msgid "A basic folder structure of a Laravel application, to help you get started."
msgstr "" msgstr ""
   
...@@ -37785,6 +37788,9 @@ msgstr "" ...@@ -37785,6 +37788,9 @@ msgstr ""
msgid "ProjectTemplates|Android" msgid "ProjectTemplates|Android"
msgstr "" msgstr ""
   
msgid "ProjectTemplates|Astro Tailwind"
msgstr ""
msgid "ProjectTemplates|GitLab Cluster Management" msgid "ProjectTemplates|GitLab Cluster Management"
msgstr "" msgstr ""
   
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
RSpec.describe Gitlab::ProjectTemplate do RSpec.describe Gitlab::ProjectTemplate, feature_category: :source_code_management do
include ProjectTemplateTestHelper include ProjectTemplateTestHelper
describe '.all' do describe '.all' do
......
...@@ -10,6 +10,7 @@ def all_templates ...@@ -10,6 +10,7 @@ def all_templates
serverless_framework tencent_serverless_framework serverless_framework tencent_serverless_framework
jsonnet cluster_management kotlin_native_linux jsonnet cluster_management kotlin_native_linux
pelican bridgetown typo3_distribution laravel pelican bridgetown typo3_distribution laravel
astro_tailwind
] ]
end end
end end
......
文件已添加
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
想要评论请 注册