diff options
author | Marshall Cottrell <mcottrell@gitlab.com> | 2022-11-15 22:01:51 +0300 |
---|---|---|
committer | Suzanne Selhorn <sselhorn@gitlab.com> | 2022-11-15 22:01:51 +0300 |
commit | 663bbcf184fa94aa9e0e6af5b3fd4f77504ea0fb (patch) | |
tree | 6a8e70facfea59b93a9e8ce6985dee6d6dd39584 /layouts | |
parent | 6888659a51e362d289198694cfb6d58c33deadb7 (diff) |
Automatically add legal disclaimer to architecture blueprints
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/blueprints/index.erb | 1 | ||||
-rw-r--r-- | layouts/blueprints/table.erb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/layouts/blueprints/index.erb b/layouts/blueprints/index.erb index a8542be6..122cc2db 100644 --- a/layouts/blueprints/index.erb +++ b/layouts/blueprints/index.erb @@ -1,5 +1,6 @@ <% render '/default.*' do %> <% if @item.identifier.match?('/ee/architecture/blueprints/**/*.md') %> + <%= legal_disclaimer %> <%= render '/blueprints/table.*', { :blueprints => [ @item ], :summary => true } %> <%= yield %> <% else %> diff --git a/layouts/blueprints/table.erb b/layouts/blueprints/table.erb index fef13030..3c2571e4 100644 --- a/layouts/blueprints/table.erb +++ b/layouts/blueprints/table.erb @@ -1,7 +1,9 @@ <% @summary ||= false %> <table> + <% unless @summary %> <caption>List of GitLab Architecture Blueprints</caption> + <% end %> <thead> <tr> <th>Status</th> |