Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
eb624313
Commit
eb624313
authored
10 years ago
by
Jérome Maes
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] website_forum : clean template by removing useless contruction.
parent
8a857fad
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
addons/website_forum/views/website_forum.xml
+4
-5
4 additions, 5 deletions
addons/website_forum/views/website_forum.xml
with
4 additions
and
5 deletions
addons/website_forum/views/website_forum.xml
+
4
−
5
View file @
eb624313
...
...
@@ -412,13 +412,12 @@
<!-- Edition: Post Article -->
<template
id=
"new_link"
>
<t
t-call=
"website_forum.header"
>
<t
t-set=
"link_create"
t-value=
"False if post_name else True"
/>
<t
t-if=
"link_create"
>
<t
t-if=
"not post_name"
>
<h1
class=
"mt0"
>
Submit a Link
</h1>
<t
t-set =
"action_url"
t-value=
"'/forum/' + slug(forum) +'/new?post_type=link'"
/>
</t>
<t
t-if=
"
not link_creat
e"
>
<h1
class=
"mt0"
t-if=
"not link_create"
>
Edit your Link
</h1>
<t
t-if=
"
post_nam
e"
>
<h1
class=
"mt0"
>
Edit your Link
</h1>
<t
t-set =
"action_url"
t-value=
"'/forum/' + slug(forum) +'/post/' + slug(post) + '/save'"
/>
</t>
<p
class=
"mb32"
>
...
...
@@ -429,7 +428,7 @@
We keep a high level of quality in showcased posts, around 20% of the submited
posts will be featured.
</p>
<form
t-att-action=
"action_url"
method=
"post"
role=
"form"
class=
"
post_link
tag_text form-horizontal"
>
<form
t-att-action=
"action_url"
method=
"post"
role=
"form"
class=
"tag_text form-horizontal"
>
<input
type=
"hidden"
name=
"karma"
t-attf-value=
"#{user.karma}"
id=
"karma"
/>
<input
type=
"hidden"
name=
"karma_retag"
t-attf-value=
"#{forum.karma_retag}"
id=
"karma_retag"
/>
<div
class=
"form-group"
>
...
...
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