Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
f71af983
Commit
f71af983
authored
Dec 27, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replaced get_all_files_counter() with news_max()
parent
240d302d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
uitwww/pages.py
uitwww/pages.py
+1
-1
No files found.
uitwww/pages.py
View file @
f71af983
...
@@ -81,7 +81,7 @@ def prepare_blueprint(app):
...
@@ -81,7 +81,7 @@ def prepare_blueprint(app):
def
list_news
():
def
list_news
():
nw_cl
=
GetNews
(
os
.
path
.
join
(
app
.
instance_path
,
"news"
))
nw_cl
=
GetNews
(
os
.
path
.
join
(
app
.
instance_path
,
"news"
))
_list_news
=
nw_cl
.
get_all_files_counter
(
4
)
_list_news
=
nw_cl
.
news_max
(
4
)
return
_list_news
return
_list_news
def
list_distro
():
def
list_distro
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment