Skip to content

Commit

Permalink
Merge 1f640fe into b197d37
Browse files Browse the repository at this point in the history
  • Loading branch information
dmunozv04 committed Jun 20, 2024
2 parents b197d37 + 1f640fe commit f4de3c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
Django>=2.0,<2.3
lxml>=2.3
django-appconf>=1.0.1,<2.0
django_compressor>=2.0,<2.3
rdflib>=3.2.0
requests>=2.1.0
selenium>=3.4
pytz
django_relatives>1.0.0,<2.0.0
user-agents
regex
markdown
Expand Down
6 changes: 2 additions & 4 deletions src/wirecloud/platform/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
from relatives.utils import object_edit_link

from wirecloud.platform import models

Expand Down Expand Up @@ -68,9 +67,8 @@ class TabPreferenceInline(admin.TabularInline):
class TabInline(admin.TabularInline):

model = models.Tab
edit_link = object_edit_link(_("Edit"))
fields = ('name', 'position', edit_link)
readonly_fields = (edit_link,)
show_change_link = True
fields = ('name', 'position')
ordering = ('position',)
extra = 1

Expand Down

0 comments on commit f4de3c6

Please sign in to comment.