Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
grid5000
reference-repository
Commits
a390eb12
Commit
a390eb12
authored
2 years ago
by
Alexandre MERLIN
Browse files
Options
Downloads
Patches
Plain Diff
[gen/wiki/env] fix footer (cf #14542)
parent
3a129c7b
No related branches found
No related tags found
1 merge request
!473
Bug14542
Pipeline
#805266
passed
2 years ago
Stage: lint
Stage: validate
Stage: generate
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/refrepo/gen/wiki/generators/environments.rb
+1
-1
1 addition, 1 deletion
lib/refrepo/gen/wiki/generators/environments.rb
lib/refrepo/gen/wiki/wiki_generator.rb
+1
-1
1 addition, 1 deletion
lib/refrepo/gen/wiki/wiki_generator.rb
with
2 additions
and
2 deletions
lib/refrepo/gen/wiki/generators/environments.rb
+
1
−
1
View file @
a390eb12
...
@@ -69,7 +69,7 @@ class EnvironmentsGenerator < WikiGenerator
...
@@ -69,7 +69,7 @@ class EnvironmentsGenerator < WikiGenerator
# Table construction
# Table construction
table_options
=
'class="wikitable sortable" style="text-align: center;"'
table_options
=
'class="wikitable sortable" style="text-align: center;"'
@generated_content
=
MW
.
generate_table
(
table_options
,
table_columns
,
table_data
)
@generated_content
=
MW
.
generate_table
(
table_options
,
table_columns
,
table_data
)
@generated_content
+=
MW
.
italic
(
MW
.
small
(
generated
_date_string
))
@generated_content
+=
MW
.
italic
(
MW
.
small
(
"Last
generated
from the Grid'5000 API on
#{
Time
.
now
.
strftime
(
"%Y-%m-%d"
)
}
"
))
@generated_content
+=
MW
::
LINE_FEED
@generated_content
+=
MW
::
LINE_FEED
end
end
end
end
This diff is collapsed.
Click to expand it.
lib/refrepo/gen/wiki/wiki_generator.rb
+
1
−
1
View file @
a390eb12
...
@@ -34,7 +34,7 @@ class WikiGenerator
...
@@ -34,7 +34,7 @@ class WikiGenerator
end
end
def
remove_page_creation_date
(
content
)
def
remove_page_creation_date
(
content
)
return
content
.
gsub
(
/''<small>Last generated from the Grid'5000
Reference API on
.+<\/small>''/
,
''
)
return
content
.
gsub
(
/''<small>Last generated from the Grid'5000.+<\/small>''/
,
''
)
end
end
def
generated_date_string
def
generated_date_string
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment